码迷,mamicode.com
首页 > 其他好文 > 详细

Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083

时间:2016-05-12 13:08:36      阅读:798      评论:0      收藏:0      [点我收藏+]

标签:

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

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!