我有个很奇怪的问题。我有一个cdh4.1.1集群,安装了cloudera管理器免费版。蜂蜡工作正常,Hivecli实用程序工作正常。并非没有侦听端口10000(配置单元jdbc连接的默认端口)。我有独立的测试cdh4.1.1vmware映像(您可以从cloudera站点下载)。有同样的情况,但有10000是开放的,我可以查询Hive。我做错了什么?为什么10000关闭?我必须做些什么才能让它在我的集群上工作?
qoefvg9y1#
好的,CDH4.1.1演示映像确实有一个运行HiveThrift服务器的服务。如果我们使用cloudera manager free控制下的cdh cluster,我们必须:goto cloodera免费管理器(cmfree)
服务色调1»*填充字段:Hive配置安全阀
<property><name>hive.server2.thrift.min.worker.threads</name><value>5</value></property><property><name>hive.server2.thrift.max.worker.threads</name><value>100</value></property><property><name>hive.server2.thrift.port</name><value>10000</value></property><property><name>hive.server2.thrift.bind.host</name><value>10.66.48.23</value></property><property><name>hive.server2.authentication</name><value>NONE</value></property><!-- TODO: add concurrency support--><property><name>hive.support.concurrency</name><value>false</value><!-- -should be true --></property><!-- do it later<property><name>hive.zookeeper.quorum</name><description>Zookeeper quorum used by Hive's Table Lock Manager</description><value>zk1.yoyodyne.com,zk2.yoyodyne.com,zk3.yoyodyne.com</value></property>-->
<property>
<name>hive.server2.thrift.min.worker.threads</name>
<value>5</value>
</property>
<name>hive.server2.thrift.max.worker.threads</name>
<value>100</value>
<name>hive.server2.thrift.port</name>
<value>10000</value>
<name>hive.server2.thrift.bind.host</name>
<value>10.66.48.23</value>
<name>hive.server2.authentication</name>
<value>NONE</value>
<!-- TODO: add concurrency support-->
<name>hive.support.concurrency</name>
<value>false</value><!-- -should be true -->
<!-- do it later
<name>hive.zookeeper.quorum</name>
<description>Zookeeper quorum used by Hive's Table Lock Manager</description>
<value>zk1.yoyodyne.com,zk2.yoyodyne.com,zk3.yoyodyne.com</value>
-->
重新启动服务然后启动hive thrift服务器:
[devops@cdh-1 ~]$ sudo -u hdfs /usr/bin/hive --service hiveserver
在这里你可以看到它如何在centos上被“妖魔化”http://blog.milford.io/2010/06/daemonizing-the-apache-hive-thrift-server-on-centos/
1条答案
按热度按时间qoefvg9y1#
好的,CDH4.1.1演示映像确实有一个运行HiveThrift服务器的服务。如果我们使用cloudera manager free控制下的cdh cluster,我们必须:
goto cloodera免费管理器(cmfree)
服务色调1»*
填充字段:Hive配置安全阀
重新启动服务
然后启动hive thrift服务器:
在这里你可以看到它如何在centos上被“妖魔化”
http://blog.milford.io/2010/06/daemonizing-the-apache-hive-thrift-server-on-centos/