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便可以愉快的使用了

原文地址:https://www.cnblogs.com/liuchangchun/p/4763838.html