Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBase: Failed construction RegionServer #8

Open
jacklove2run opened this issue Dec 27, 2022 · 1 comment
Open

HBase: Failed construction RegionServer #8

jacklove2run opened this issue Dec 27, 2022 · 1 comment

Comments

@jacklove2run
Copy link

jacklove2run commented Dec 27, 2022

When execute start_hbase.sh in master node, I got the error in regionserver nodes:

Failed construction RegionServer hbase.regionserver.hostname.disable.master.reversedns and hbase.regionserver.hostname are mutually exclusive. Do not set hbase.regionserver.hostname.disable.master.reversedns to true

I noticed the hbase-site.xml in hbase/1.2.6/hbase-site.xml is like this:

  <property>
      <name>hbase.regionserver.hostname</name>
      <value>HOSTNAME</value>
  </property>
  <property>
      <name>hbase.regionserver.hostname.disable.master.reversedns</name>
      <value>true</value>
  </property>

The document of hbase says the two options are mutually exclusive: HBase 2.0 Reference Guide

hbase.regionserver.hostname.disable.master.reversedns
Description
This config is for experts: don’t set its value unless you really know what you are doing. When set to true, regionserver will use the current node hostname for the servername and HMaster will skip reverse DNS lookup and use the hostname sent by regionserver instead. Note that this config and hbase.regionserver.hostname are mutually exclusive. See https://issues.apache.org/jira/browse/HBASE-18226 for more details

@newnius
Copy link
Owner

newnius commented Dec 30, 2022

It should still work if you follow the steps.
Did you changed the version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants