hadoophbasecloudera

hbase.master.port overridden programmatically?


I installed hbase from cloudera 5.3.3 distribution and as I run the hbase everything seems to be working fine...

When I try assign hbase.master.port via /etc/hbase/conf/hbase-site.xml it does not pick it from there.

I see this from master node info http://MASTERNODE:60010/conf

<property>
  <name>hbase.master.port</name>
  <value>0</value>
  <source>programatically</source>
</property>

hbase distribution: 0.98.6-cdh5.3.3

What does this 'programmatically' mean and how can I disable/override it ?


Solution

  • answering my own question :(

    as i just figured out the hbase standalone mode do not takes hbase.master.port into account
    https://github.com/cloudera/hbase/blob/cdh4.5.0-release/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java#L141

    standalone mode: http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_hbase_standalone_start.html

    only way to assign a port is to setup ,at least a Pseudo-Distributed Mode, see this: http://www.cloudera.com/content/cloudera/en/documentation/core/v5-2-x/topics/cdh_ig_hbase_pseudo_configure.html