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 &

  • 相关阅读:
    跨境支付与业务流程介绍
    idea 编译级别的设置
    WebSocket客户端学习
    2018年 新年目标
    enum 的使用
    前段技术学习网站
    堆 和 栈 区别
    CMU Deep Learning 2018 by Bhiksha Raj 学习记录(11)) Lecture 12: Recurrent Neural Networks 2
    CMU Deep Learning 2018 by Bhiksha Raj 学习记录(10)
    CMU Deep Learning 2018 by Bhiksha Raj 学习记录(9)
  • 原文地址:https://www.cnblogs.com/xhwangspark/p/6796708.html
Copyright © 2011-2022 走看看