hive客户端访问Hadoop数据,hive-site如何配置呢?
我目前配置为这个样子,win7 ODBC 一直访问不了,昨天突然成功了,重启了下电脑又不行了,不知道问题到底在哪里,希望大神给予指点
hive.hwi.war.file
lib/hive-hwi-0.12.0-SNAPSHOT.war
This sets the path to the HWI war file, relative to ${HIVE_HOME}.
hive.hwi.listen.host
192.168.111.150
This is the host address the Hive Web Interface will listen on
hive.hwi.listen.port
9999
This is the port the Hive Web Interface will listen on
javax.jdo.option.ConnectionDriverName
com.mysql.jdbc.Driver
Driver class name for a JDBC metastore
javax.jdo.option.ConnectionURL
jdbc:mysql://192.168.111.164:3306/hive?characterEncoding=UTF-8
JDBC connect string for a JDBC metastore
javax.jdo.option.ConnectionUserName
root
Username to use against metastore database
javax.jdo.option.ConnectionPassword
root
password to use against metastore database
hive.server2.thrift.min.worker.threads
5
hive.server2.thrift.max.worker.threads
500
hive.server2.thrift.port
10000
hive.server2.thrift.bind.host
192.168.111.150
hive.server2.transport.mode
HTTP
hive.server2.thrift.http.port
10001
hive.server2.thrift.http.path
cliservice
hive.server2.thrift.http.min.worker.threads
5
hive.server2.thrift.http.max.worker.threads
500 |
免责声明:本内容仅代表回答会员见解不代表天盟观点,请谨慎对待。
版权声明:作者保留权利,不代表天盟立场。
|
|
|
|