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

本文介绍了如何配置Hive并启动Hive Thrift Server,包括设置端口、配置目录等关键步骤,并指导如何通过HUE进行操作。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值