Start HBase normally, but an error is reported with the list command:
ERROR: Can’t get master address from ZooKeeper; znode data == null
Here is some help for this command:
List all user tables in hbase. Optional regular expression parameter could
be used to filter the output. Examples:
hbase> list
hbase> list ‘abc.’
hbase> list ‘ns:abc.’
hbase> list ‘ns:.*’
Check the log file of HBase first, and the following error appears:
2021-12-08 23:51:35101 fat [hadoop01:16000. Activemastermanager] master HMaster: Failed to become active master
org. apache. hadoop. ipc. RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby
Solution:
① it is related to the active and standby of the node. In my case, there are three highly available Hadoop, of which the primary node Hadoop 01 is standby and Hadoop 02 is active, but errors will still be reported. I actively intervene in the zookeeper election, set Hadoop 01 to active and Hadoop 02 to standby, and the result is successful.
actively intervene in the zookeeper election command:
hdfs haadmin -transitionToStandby --forcemanual nn2
hdfs haadmin -transitionToActive --forcemanual nn1
② High availability Hadoop core site XML configuration
and HBase site XML doesn’t match. I configured HBase before the high availability configuration and didn’t change it later, so I had to change it.
after modification:
then put the Hadoop cluster configuration file core site XML and HDFS site The two configuration files, XML, are copied to the conf directory of HBase
Restart Hadoop cluster and HBase
Read More:
- HBase shell Find ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] hbase Create Sheet Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] HBase Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] Failed update hbase:meta table descriptor HBase Startup Error
- [Solved] hbase Create Sheet Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] zookeeper Startup Error: already running as process
- [Solved] eclipse Error: org.apache.hadoop.hbase.NotServingRegionException:
- [Solved] Hbase …ERROR: Unable to read .tableinfo from file:/hbaseData/data/default/table1/xxxx
- Hbase Shell startup error: [ERROR] Terminal initialization failed; falling back to unsupported
- Spark-shell startup error: Yarn application has already ended! It might have been killed or unable to launch application master
- Flask Startup Error: s.bind(server_address)PermissionError: [Errno 13] Permission denied
- [Solved] HBase shell command Error: ERROR: connection closed
- How to Solve HBase error: region is not online
- [Solved] habse Start Error: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
- Hbase Error: Regions In Transition [How to Solve]
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- TypeException: Error setting non null for parameter #1 with JdbcType null
- [Solved] zookeeper Error: OperationTimeoutException: KeeperErrorCode = OperationTimeout
- [Solved] Error: Cannot run with sound null safety, because the following dependenciesdon‘t support null safe
- [Solved] ZooKeeper Configurate Error: Error contacting service. It is probably not running.