To create a table in the HBase shell:
A few days ago, it was OK. Today, I want to review it. Suddenly, it doesn’t work.
I checked a lot and said that list can’t create tables. When I encountered a problem, list can’t create tables.
after reading a lot, I found that many of them are about the problem of zookeeper. Clearing HBase cache, I cried because I didn’t install zookeeper client, let alone clearing it.
the next step is to change the configuration, Synchronize the time cycle and eliminate strange error reports
Problem Description:
There is no problem using list in HBase shell
there is a problem when creating a table: error: org apache. hadoop. hbase. PleaseHoldException: Master is initializing
Cause analysis:
1. hbase file configuration
2. The clock does not correspond to
3. Some strange errors are reported when hbase runs (although it can run normally before, there are hidden dangers)
4. hbase is sick (artificial mental retardation)
Solution:
Modify HBase configuration file
By modifying the hbase configuration file hbase-site.xml, hbase.rootdir is changed to hbase.root.dir. The following configuration file
<configuration>
<property>
<name>hbase.root.dir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
</configuration>
synchronization time
directly enter the following command in the shell
ntpdate 1.cn.pool.ntp.org
3. Eliminate strange messages from HBase
Directly in HBase env Add the following command to the SH file
export HBASE_DISABLE_HADOOP_CLASSPATH_LOOKUP=true
Reboot
Read More:
- HBase shell Find ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] hbase Startup Error: ERROR: Can’t get master address from ZooKeeper; znode data == null
- [Solved] HBase shell command Error: ERROR: connection closed
- [Solved] HBase Error: ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] eclipse Error: org.apache.hadoop.hbase.NotServingRegionException:
- [Solved] habse Start Error: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
- How to Solve Hmaster hangs up issue due to namenode switching in Ha mode
- [Solved] Failed update hbase:meta table descriptor HBase Startup Error
- [Solved] Kafka Error: InvalidReplicationFactorException: Replication factor:
- How to Solve HBase error: region is not online
- How to Solve HiveServer2 & Beeline Error
- [HBase Error]“java.lang.OutOfMemoryError: Requested array size exceeds VM limit”
- [Solved] Error contacting service. It is probably not running.
- Initial installation of hive-2.1.0 startup error problem solution
- [Solved] Error contacting service. It is probably not running.
- [Solved] Hbase …ERROR: Unable to read .tableinfo from file:/hbaseData/data/default/table1/xxxx
- [Solved] Hadoop error java.lang.nosuchmethoderror
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask
- [Solved] Hadoop Error: Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- Hive 3.1.2 startup error reporting and resolution of guava version conflict