hbase.master.port 以编程方式覆盖?
hbase.master.port overridden programmatically?
我从 cloudera 5.3.3 发行版安装了 hbase,当我 运行 hbase 一切似乎都运行良好...
当我尝试通过 /etc/hbase/conf/hbase-site.xml 分配 hbase.master.port 时,它不会从那里选择它。
我从主节点信息中看到这个http://MASTERNODE:60010/conf
<property>
<name>hbase.master.port</name>
<value>0</value>
<source>programatically</source>
</property>
hbase 分布:0.98.6-cdh5.3.3
这个“以编程方式”是什么意思,我如何disable/override它?
这意味着,它在某些 app/code 中被设置。
您正在使用 Cloduera Manager 吗?
您将需要在 Cloduera Manager 中进行设置。如果您没有使用 Cloudera Manager,那么您需要为 HBase 集群修改 hbase-site.xml 并重新启动 HBase 集群。
回答我自己的问题:(
因为我刚刚发现 hbase 独立模式没有考虑 hbase.master.port
https://github.com/cloudera/hbase/blob/cdh4.5.0-release/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java#L141
分配端口的唯一方法是设置,至少是伪分布式模式,
看到这个:
http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_hbase_pseudo_configure.html
我从 cloudera 5.3.3 发行版安装了 hbase,当我 运行 hbase 一切似乎都运行良好...
当我尝试通过 /etc/hbase/conf/hbase-site.xml 分配 hbase.master.port 时,它不会从那里选择它。
我从主节点信息中看到这个http://MASTERNODE:60010/conf
<property>
<name>hbase.master.port</name>
<value>0</value>
<source>programatically</source>
</property>
hbase 分布:0.98.6-cdh5.3.3
这个“以编程方式”是什么意思,我如何disable/override它?
这意味着,它在某些 app/code 中被设置。
您正在使用 Cloduera Manager 吗?
您将需要在 Cloduera Manager 中进行设置。如果您没有使用 Cloudera Manager,那么您需要为 HBase 集群修改 hbase-site.xml 并重新启动 HBase 集群。
回答我自己的问题:(
因为我刚刚发现 hbase 独立模式没有考虑 hbase.master.port
https://github.com/cloudera/hbase/blob/cdh4.5.0-release/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java#L141
分配端口的唯一方法是设置,至少是伪分布式模式, 看到这个: http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_hbase_pseudo_configure.html