zoukankan      html  css  js  c++  java
  • 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 &

  • 相关阅读:
    Volatile的作用---http://www.cnblogs.com/xing901022/p/7840684.html
    基于JDBC持久化的事务管理-https://www.cnblogs.com/xing901022/p/4272420.html
    Class的isAssignableFrom方法--其他博主的博客
    深入并发二 ThreadLocal源码与内存泄漏相关分析 https://www.cnblogs.com/qmlingxin/p/9412061.html
    Beta阶段项目总结
    Alpha阶段项目总结
    Alpha版总结会议——班级派
    第二冲刺阶段——站立会议第十四天6月7日
    第二冲刺阶段——站立会议第十三天6月6日
    第二冲刺阶段——站立会议第十二天6月5日
  • 原文地址:https://www.cnblogs.com/xhwangspark/p/6796708.html
Copyright © 2011-2022 走看看