• 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

  • 相关阅读:
    [转]数据库优化方法(三)
    [转]根据性能监视器,分析性能瓶颈
    sqlserver获取表名,字段名
    VBA SQLServer 基本操作
    oracle常见权限分配
    oracle 里面定时执行任务,比如存储过程内容等
    cisco 路由配置
    cisco LAN
    mongodb的启动参数--quiet
    mongodb的IO测试工具 mongoperf
  • 原文地址:https://www.cnblogs.com/cphmvp/p/5978529.html
Copyright © 2020-2023  润新知