zoukankan      html  css  js  c++  java
  • HiveServer

    HiveServer - Apache Hive - Apache Software Foundation



    HiveServer

































































    Skip to end of metadata


        Page restrictions apply
        Added by Confluence Administrator, last edited by Carl Steinbach on Apr 17, 2012
         (view change)

    Go to start of metadata


        WARNING!

        HiveServer can not handle concurrent requests from more than one client. This is actually a limitation imposed by the Thrift interface that HiveServer exports, and can't be resolved by modifying the HiveServer code. We're currently working on a rewrite of HiveServer that addresses these problems. Progress on this issue is being tracked in HIVE-2935.
        Hive server and clients communicates through Thrift and FB303 services. In some distributions, both the Hadoop and Hive distributions have different versions of libthrift.jar and libfb303.jar. If they are incompatible, it may cause Thrift connection error when running the unit test on standalone mode. The solution is to remove the Hadoop's version of libthrift.jar and libfb303.jar.

    Once Hive has been built using steps in Getting Started, the thrift server can be started by running the following:

    $ build/dist/bin/hive --service hiveserver --help
    usage HIVE_PORT=xxxx ./hive --service hiveserver
      HIVE_PORT : Specify the server port

    $ bin/hive --service hiveserver

    After starting the server, to test if the server is working well, run the hiveserver and jdbc tests in 'standalone' mode. The HIVE_PORT is assumed to be 10000 on localhost for this case.

    $ ant test -Dtestcase=TestJdbcDriver -Dstandalone=true
    $ ant test -Dtestcase=TestHiveServer -Dstandalone=true

    The service supports clients in multiple languages. For more details see Hive Client

    Labels parameters





  • 相关阅读:
    MySQL 大表优化方案
    mysql千万级大数据SQL查询优化
    mysql binlog格式
    MySQL误操作后如何快速恢复数据
    mysql数据库优化
    查看MYSQL数据库中所有用户及拥有权限
    MySQL如何优化
    MySQL 开发实践
    show slave各项参数解释
    MYSQL主从数据库搭建
  • 原文地址:https://www.cnblogs.com/lexus/p/2697340.html
Copyright © 2011-2022 走看看