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

1 前言

首先要配置好Hive,能夠參見:http://www.cnblogs.com/liuchangchun/p/4761730.htmlhtml

2 hive配置

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

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


<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 servercode

hive --service hiveserver2

打開HUE即可以愉快的使用了server

相關文章
相關標籤/搜索