我提示以下錯誤:在啓動節儉服務器:
hive --service hiveserver
Starting Hive Thrift Server
org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
,當我跑netstat的10000端口已經在使用..
$ netstat -nl | grep 10000
tcp6 0 0 :::10000 :::* LISTEN
如何解決這個問題?
((2))
當啓動蜂巢網絡界面獲得以下錯誤
hive --service hwi
$ hive --service hwi
13/01/01 22:05:36 INFO hwi.HWIServer: HWI is starting up
13/01/01 22:05:37 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
13/01/01 22:05:37 INFO mortbay.log: jetty-6.1.26
13/01/01 22:05:37 INFO mortbay.log: Extract /opt/hive/lib/hive-hwi-0.9.0.jar to /tmp/Jetty_127_0_0_1_3606_hive.hwi.0.9.0.jar__hwi__.6ogsv5/webapp
13/01/01 22:05:37 WARN mortbay.log: failed [email protected]:3606: java.net.BindException: Address already in use
13/01/01 22:05:37 WARN mortbay.log: failed [email protected]: java.net.BindException: Address already in use
Exception in thread "main" java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
請幫助。
在此先感謝!
試試'netstat -nl | grep 9999'來檢查哪個進程使用'9999'是默認hwi端口的端口。 – pensz
更改默認地址並嘗試再次運行。 – Amol