You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Bhavesh Shah <bh...@gmail.com> on 2012/01/17 13:06:23 UTC
Error while starting HiveServer
Hello,
While starting hive server I am getting error as:
hadoop@ubuntu:~/hive-0.7.1$ bin/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.
at
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:99)
at
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:80)
at
org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:73)
at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:384)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
Pls suggest me why this error come and how to remove it?
--
Regards,
Bhavesh Shah
Re: Error while starting HiveServer
Posted by hadoop hive <ha...@gmail.com>.
check your hosts file its should have the entry of NN .
On Tue, Jan 17, 2012 at 5:36 PM, Bhavesh Shah <bh...@gmail.com>wrote:
> Hello,
> While starting hive server I am getting error as:
> hadoop@ubuntu:~/hive-0.7.1$ bin/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.
> at
> org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:99)
> at
> org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:80)
> at
> org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:73)
> at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:384)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
>
> Pls suggest me why this error come and how to remove it?
>
> --
> Regards,
> Bhavesh Shah
>
>