[root@zwlbs3 ~]# tail -f /var/log/hbase/phoenix-hbase-server.logjava
------------------------ 日誌信息以下 -----------------------
2019-07-18 11:20:56,621 WARN org.apache.hadoop.util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2019-07-18 11:20:56,751 INFO org.apache.calcite.avatica.metrics.MetricsSystemLoader: No metrics implementation available on classpath. Using No-op implementation
2019-07-18 11:20:56,765 INFO org.apache.phoenix.shaded.org.eclipse.jetty.util.log: Logging initialized @1113ms
2019-07-18 11:20:56,975 INFO org.apache.phoenix.shaded.org.eclipse.jetty.server.Server: jetty-9.2.z-SNAPSHOT
2019-07-18 11:20:57,014 WARN org.apache.phoenix.shaded.org.eclipse.jetty.util.component.AbstractLifeCycle: FAILED ServerConnector@2e6a8155{HTTP/1.1}{0.0.0.0:8765}: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
.......apache
注:上面的錯誤表示 8765 端口已經被另外一個應用程序使用。app
[root@zwlbs3 ~]# netstat -ntlp | grep 8765
tcp6 0 0 :::8765 :::* LISTEN 1038/java
[root@zwlbs3 ~]# kill -9 1038eclipse
再次啓動 Phoenix,重複1.2步驟便可。tcp