Home > Database > Mysql Tutorial > body text

hive hiveserver2

WBOY
Release: 2016-06-07 15:08:56
Original
1716 people have browsed it

1) 概念 基于Thrift RPC,是HiveServer的改进版,支持多线程以及认证 2) 配置 a. hive --service hiveserver -p 10000 在端口10000上启动hiveserver 连接的驱动名:org.apache.hadoop.hive.jdbc.HiveDriver 注册:jdbc:hive://192.168.50.128:10000/defaul

1) 概念

基于Thrift RPC,是HiveServer的改进版,支持多线程以及认证

2) 配置

a. hive --service hiveserver -p 10000

在端口10000上启动hiveserver

连接的驱动名: org.apache.hadoop.hive.jdbc.HiveDriver

注册:jdbc:hive://192.168.50.128:10000/default

b. hive --service hiveserver2   或者 hiveserver2

修改配置文件hive-site.xml  hive.server2.thrift.port=10001, hive.server2.thrift.bind.host=192.168.50.128

在端口10001上启动hiveserver2

驱动名: org.apache.hive.jdbc.HiveDriver

注册:jdbc:hive://192.168.50.128:10001/default

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!