Starting hiveserver2

后端 未结 2 1753
野性不改
野性不改 2021-02-06 03:39

I am trying to run hiveserver2 on my hadoop cluster so that I can access hive using jdbc. I run the following command: $HIVE_HOME/bin/hiveserver2. This doesn\'t log anything to

相关标签:
2条回答
  • 2021-02-06 04:13

    try running :
    hive --service hiveserver2 --hiveconf hive.server2.thrift.port=10000 --hiveconf hive.root.logger=INFO,console
    This will start hiveserver2, on port 10000 and output the logs to console.

    0 讨论(0)
  • 2021-02-06 04:15

    Use below command to run hiveserver2 :

    sudo su hduser
    
    cd /usr/local/apache-hive-2.0.1-bin/bin
    
    hive --service hiveserver2
    
    0 讨论(0)
提交回复
热议问题