When starting HBase, you can set export HBASE_MANAGES_ZK = true, let HBase use its own ZK
At that time, the following errors were reported when starting:
starting master, logging to /home/wde/hbase/hbase/bin/../logs/hbase-wde-master-ict003.out
Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK quorum.
It seems that the default 2181 port has been occupied. If the ZK port is not specified in hbase-site.xml, the default 2181 port is used. Once port 2181 is occupied, it will cause startup failure
Modify hbase-site.xml and add the following line:
& lt; property>
& lt; name> hbase.zookeeper.property.clientPort</ name>
& lt; value> 2182</ value>
& lt;/ property>
Then you can start HBase normally.
Similar Posts:
- [Solved] Hbase list ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] zookeeper deletes a directory node Error: authentication is not valid: /HBase/tokenauth
- [HBase] java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
- [Solved] HBase Startup Error: master.HMaster: Failed to become active master
- Solution to unknown hostexception error when HBase starts regionserver
- Phoenix Startup Error: Error: ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.
- ETL component flume startup error [How to Solve]
- Hive connection HBase external table error, can’t get the locations
- [Solved] Hbase Startup Normally but Execute Error: Server is not running yet
- HBase master.HMaster: Failed to become active master