• 热门专题

CouldnotcreateServerSocketonaddress0.0.0.0/0.0.0.0:9083

作者:  发布日期:2016-05-10 22:32:49
Tag标签:CouldnotcreateServerSocketonaddress0  0  0  0  0  0  0  0:9083  
  • 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,启动成功。

About IT165 - 广告服务 - 隐私声明 - 版权申明 - 免责条款 - 网站地图 - 网友投稿 - 联系方式
本站内容来自于互联网,仅供用于网络技术学习,学习中请遵循相关法律法规