Topic
  • No replies
IBMBI01
IBMBI01
1 Post

Pinned topic Hive not starting

‏2013-12-12T16:25:55Z |

I installed the multinode version of big insights on centos 6.4 and everything started except the hive component. Using the console selected the hive component and clicked start, it does not show any errors, however never started. 

Looking at the following logs,  seems like the port 10000 has some issue. Where can I go and change this port info to someother number? So that I can restart...

[root@ibmbi01 hive]# more bihive_server.out
Thu Dec 12 10:29:34 EST 2013 : Connection obtained for host: ibmbi01, port number 1528.
Starting Hive Thrift Server
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/ibm/biginsights/hive/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/ibm/biginsights/IHC/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:93)
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:75)
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:68)
        at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:724)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
 

=========================================

 

Also the following file has the log as given below. 

 

[root@ibmbi01 hive]# more bihive_hwi.out
Thu Dec 12 10:29:28 EST 2013 : Connection obtained for host: ibmbi01, port number 1528.
13/12/12 10:29:31 INFO hwi.HWIServer: HWI is starting up
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/ibm/biginsights/hive/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/ibm/biginsights/IHC/lib/slf4j-log4j12-1.4.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
13/12/12 10:29:31 INFO mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
13/12/12 10:29:31 INFO mortbay.log: jetty-6.1.26
13/12/12 10:29:31 INFO mortbay.log: Extract /opt/ibm/biginsights/hive/lib/hive-hwi-0.9.0.war to /tmp/Jetty_0_0_0_0_9999_hive.hwi.0.9.0.war__hwi__2l99ri/webap
p
13/12/12 10:29:32 WARN mortbay.log: failed SocketConnector@0.0.0.0:9999: java.net.BindException: Address already in use
13/12/12 10:29:32 WARN mortbay.log: failed Jetty20SShims$Server@3ff03ff0: 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)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:413)
        at java.net.ServerSocket.bind(ServerSocket.java:339)
        at java.net.ServerSocket.<init>(ServerSocket.java:205)
        at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
        at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
        at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
        at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.mortbay.jetty.Server.doStart(Server.java:235)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.apache.hadoop.hive.hwi.HWIServer.start(HWIServer.java:102)
        at org.apache.hadoop.hive.hwi.HWIServer.main(HWIServer.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)