Hadoop 管理工具HUE配置-Hive配置


1 前言

首先要配置好Hive,可以參見:http://www.cnblogs.com/liuchangchun/p/4761730.html

2 hive配置

找到beeswax標簽,不叫hive,配置如下屬性,其中端口號要和hive-site.xml中的保持一致

hive-site.xml中配置thrift端口號


<property> <name>hive.server2.thrift.port</name> <value>19999</value> <description>Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'binary'.</description> </property>
hive_server_host=192.168.1.102

# Port where HiveServer2 Thrift server runs on.
hive_server_port=19999

# Hive configuration directory, where hive-site.xml is located
hive_conf_dir=/home/hadoop/software/cloud/apache-hive-1.0.1-bin/conf

3 使用hive

需要先啟動hive thrift server

hive --service hiveserver2

打開HUE便可以愉快的使用了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM