首页 > 代码库 > hive 修改oracle作为元数据库 报错

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

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作为元数据库 报错