码迷,mamicode.com
首页 > 数据库 > 详细

hive 修改oracle作为元数据库 报错

时间:2017-05-02 16:48:54      阅读:297      评论:0      收藏:0      [点我收藏+]

标签:tran   元数据   use   ret   ast   sock   try   reflect   tin   

17/05/02 15:45:28 WARN conf.HiveConf: DEPRECATED: hive.metastore.ds.retry.* no longer has any effect. Use hive.hmshandler.retry.* instead
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:5141)
at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
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.main(RunJar.java:212)
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:5141)
at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5084)
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.main(RunJar.java:212)

 

后来jps才发现。。。

[root@hadoopmaster lib]# jps
7829 RunJar
6737 RunJar
4615 Worker
6913 RunJar
6840 RunJar
4476 Master
6509 RunJar
6985 RunJar
3397 DataNode
6585 RunJar
3718 ResourceManager
6657 RunJar
7241 RunJar
7604 RunJar
3276 NameNode
7919 Jps
7507 RunJar
3820 NodeManager
3519 SecondaryNameNode

开了那么多进程。。。

然后 

[root@hadoopmaster lib]# kill -9 7829
[root@hadoopmaster lib]# kill -9 6737
[root@hadoopmaster lib]# kill -9 6913
[root@hadoopmaster lib]# kill -9 6840

runjar全部杀掉后,在运行

[hadoop@hadoopmaster conf]$ hive --service metastore &

hive 修改oracle作为元数据库 报错

标签:tran   元数据   use   ret   ast   sock   try   reflect   tin   

原文地址:http://www.cnblogs.com/xhwangspark/p/6796708.html

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