标签:
Exception in thread "main" org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083. 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.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5706) at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5649) 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:606) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
遇到这种情况大家都找不到头绪,是因为你开始运行了hive的metastore,可以输入jps
然后出现如下:
红线所示就是hive metastore的进程
为了重新启动,需要把这个进杀掉;
kill -9 6006(这个是哪个程序的进程号)
然后再输入
hive --service metastore启动
OK,启动成功。
Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083
标签:
原文地址:http://blog.csdn.net/u012965373/article/details/51361887