zoukankan      html  css  js  c++  java
  • bigdata_hiveserver2报错_thrift

    问题一:

    php客户端,链接hiveserver2 ,报错 如下

    1: server.TThreadPoolServer (TThreadPoolServer.java:run(215)) - Error occurred

      org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$HiveSaslServerTransportF 

    180  

    分析,由于认证问题,hiveserver2    

    解决方法:内网环境关闭认证 HiveServer2 Authentication

    改为NOSASL,然后重启服务器端口 hiveserver2

    问题二;如果遇到以下错误 ,常常由于环境变量错误,造成启动时user有问题。修改环境变量即可

    2016-10-19 19:31:19,279 ERROR [HiveServer2-Handler-Pool: Thread-29]: server.TThreadPoolServer (TThreadPoolServer.java:run(213)) - Thrift error occurred during processing of message.
    org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client?
        at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:213)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
        at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

    echo $PATH

    /bin:/sbin:/usr/bin

  • 相关阅读:
    Bye sent_keys
    快速获取Jenkins上build
    快速搞定selenium grid分布式
    python 图形界面开发
    [分享] 自动化测试与持续集成方案-- UI 检查
    hua ge ju hao
    暴力 C++
    简单排序(java)
    记codeforces两题
    hdu 1874, dijkstra
  • 原文地址:https://www.cnblogs.com/cphmvp/p/5978529.html
Copyright © 2011-2022 走看看