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

Posted 羽翼清风

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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才发现。。。

[[email protected] 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

开了那么多进程。。。

然后 

[[email protected] lib]# kill -9 7829
[[email protected] lib]# kill -9 6737
[[email protected] lib]# kill -9 6913
[[email protected] lib]# kill -9 6840

runjar全部杀掉后,在运行

[[email protected] conf]$ hive --service metastore &













































以上是关于hive 修改oracle作为元数据库 报错的主要内容,如果未能解决你的问题,请参考以下文章

Apache Atlas 执行导入hive元数据脚本import-hive.sh报错

hive+mysql问题,mysql作为元数据库启动出如下问题

hive 未初始化元数据库报错

hive报错 Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(mes

修改 Hive 元数据库默认字符集,解决乱码问题

带着问题读 TiDB 源码:Hive 元数据使用 TiDB 启动报错