$HIVE_HOME/bin/hive --service hiveserver
17,287
This might be because there's another process (maybe another hiveserver) already listening on port 10000. Issue netstat -ntulp | grep ':10000'
to see it that is the case and kill the process listed there or start Thrift server on another port, e.g:
hive --service hiveserver -p 10001
Comments
-
Charnjeet Singh almost 2 years
I am new to Hadoop/hive.i have install hadoop and hive.it work fine when i am using hive as command prompt but which i am going to implement JDBC of hive then type the following command
hive>$HIVE_HOME/bin/hive --service hiveserver
Then get following error so pls Help me how to implement jdbc of hive Pls anyone Help me...
hduser@ubuntu:~$ $HIVE_HOME/bin/hive --service hiveserver Starting Hive Thrift Server WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files. 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.hadoop.hive.metastore.TServerSocketKeepAlive.<init>(TServerSocketKeepAlive.java:34) at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:674) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.hadoop.util.RunJar.main(RunJar.java:156)