首先要配置好Hive,能够参见:http://www.cnblogs.com/liuchangchun/p/4761730.htmlhtml
找到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
须要先启动hive thrift servercode
hive --service hiveserver2
打开HUE即可以愉快的使用了server