<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBase &amp;quot;Master is initializing&amp;quot; error in pseudo-distributed mode in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/394026#M248645</link>
    <description>&lt;P&gt;You can check the Hbase Master log and verify of the hbase:meta and hbase:namespace tables are online.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 12:30:17 GMT</pubDate>
    <dc:creator>rki_</dc:creator>
    <dc:date>2024-09-26T12:30:17Z</dc:date>
    <item>
      <title>HBase "Master is initializing" error in pseudo-distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/393995#M248639</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently testing HBase for bulk loading purposes, and I am using the pseudo-distributed mode (single-host standalone) for my configuration. After completing all the configurations, I ran the jps command, which displayed all the necessary processes for testing, as shown below:&lt;/P&gt;&lt;P&gt;[super@dc1-apache-hbase bin]$ jps&lt;BR /&gt;25808 ResourceManager&lt;BR /&gt;25585 SecondaryNameNode&lt;BR /&gt;36961 HMaster&lt;BR /&gt;25203 NameNode&lt;BR /&gt;37347 Jps&lt;BR /&gt;25925 NodeManager&lt;BR /&gt;36805 HQuorumPeer&lt;BR /&gt;25334 DataNode&lt;BR /&gt;37135 HRegionServer&lt;BR /&gt;[super@dc1-apache-hbase bin]$&lt;/P&gt;&lt;P&gt;I did not use Zookeeper manually but instead set export HBASE_MANAGES_ZK=true. However, once I enter the HBase shell, I can list the tables but cannot create any new tables. The error displayed is as follows:&lt;/P&gt;&lt;P&gt;hbase:001:0&amp;gt; list&lt;BR /&gt;TABLE&lt;BR /&gt;0 row(s)&lt;BR /&gt;Took 0.7732 seconds&lt;BR /&gt;=&amp;gt; []&lt;BR /&gt;hbase:002:0&amp;gt;&lt;BR /&gt;hbase:003:0&amp;gt; create 'table_1','cf'&lt;/P&gt;&lt;P&gt;ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing&lt;BR /&gt;at org.apache.hadoop.hbase.master.HMaster.checkInitialized(HMaster.java:3215)&lt;BR /&gt;at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:2330)&lt;BR /&gt;at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:694)&lt;BR /&gt;at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:415)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:102)&lt;BR /&gt;at org.apache.hadoop.hbase.ipc.RpcHandler.run(RpcHandler.java:82)&lt;/P&gt;&lt;P&gt;I tried troubleshooting the issue based on suggestions found online, such as wiping the Zookeeper directory and restarting HBase, but this did not resolve the problem.&lt;/P&gt;&lt;P&gt;Here are the details of my setup:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Hadoop Version:&lt;/STRONG&gt; 3.3.6&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;HBase Version:&lt;/STRONG&gt; 2.5.10&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Java Version:&lt;/STRONG&gt; OpenJDK 1.8.0_422&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Configurations&lt;/H3&gt;&lt;P&gt;&lt;STRONG&gt;hbase-site.xml:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.cluster.distributed&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.rootdir&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;hdfs://localhost:9000/hbase&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.wal.provider&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;filesystem&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.zookeeper.property.dataDir&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;/home/super/hbase/zookeeper&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.zookeeper.quorum&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;localhost&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hbase.zookeeper.property.clientPort&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;2181&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;hbase-env.sh:&lt;/P&gt;&lt;P&gt;export HBASE_OPTS="$HBASE_OPTS -Dlog4j.configuration=file:/home/super/hbase/conf/log4j2.properties"&lt;BR /&gt;export HBASE_LOG_DIR=/home/super/hbase/logs&lt;BR /&gt;export HBASE_LOG_PREFIX=hbase&lt;BR /&gt;export HBASE_ROOT_LOGGER="INFO,DRFA"&lt;BR /&gt;export HBASE_SECURITY_LOGGER="INFO,DRFA"&lt;BR /&gt;export JAVA_HOME=/usr/local/java-1.8.0-openjdk-1.8.0.422.b05-2.el9.x86_64&lt;BR /&gt;export HBASE_MANAGES_ZK=true&lt;/P&gt;&lt;P&gt;Could anyone please assist me in resolving this issue?&amp;nbsp; Additionally, if anyone has experience with using HBase with HDFS, could you please help me with the setup?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 02:41:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/393995#M248639</guid>
      <dc:creator>Amandi</dc:creator>
      <dc:date>2024-09-26T02:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: HBase "Master is initializing" error in pseudo-distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/394026#M248645</link>
      <description>&lt;P&gt;You can check the Hbase Master log and verify of the hbase:meta and hbase:namespace tables are online.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 12:30:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/394026#M248645</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2024-09-26T12:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: HBase "Master is initializing" error in pseudo-distributed mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/394186#M248675</link>
      <description>&lt;P&gt;Hi rki_,&lt;/P&gt;&lt;P&gt;It seems like both hbase:meta and hbase:namespace tables are not online. I am attaching the master log for your review, and if you know a way to fix this, can you check it?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;2024-09-30 10:11:28,981 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:12:28,982 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:13:19,391 ERROR [ActiveMasterInitializationMonitor-1727422999267] master.MasterInitializationMonitor (MasterInitializationMonitor.java:run(67)) - Master failed to complete initialization after 900000ms. Please consider submitting a bug report including a thread dump of this process.&lt;BR /&gt;2024-09-30 10:13:28,982 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:13:36,668 INFO&amp;nbsp; [master:store-WAL-Roller] monitor.StreamSlowMonitor (StreamSlowMonitor.java:&amp;lt;init&amp;gt;(122)) - New stream slow monitor dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727671416667&lt;BR /&gt;2024-09-30 10:13:36,684 INFO&amp;nbsp; [master:store-WAL-Roller] wal.AbstractFSWAL (AbstractFSWAL.java:logRollAndSetupWalProps(834)) - Rolled WAL /hbase/MasterData/WALs/dc1-apache-hbase.mobitel.lk,16000,1727422992087/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727670516635 with entries=0, filesize=85 B; new WAL /hbase/MasterData/WALs/dc1-apache-hbase.mobitel.lk,16000,1727422992087/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727671416667&lt;BR /&gt;2024-09-30 10:13:37,089 INFO&amp;nbsp; [WAL-Archive-0] wal.AbstractFSWAL (AbstractFSWAL.java:archiveLogFile(815)) - Archiving hdfs://192.168.6.205:9000/hbase/MasterData/WALs/dc1-apache-hbase.mobitel.lk,16000,1727422992087/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727670516635 to hdfs://192.168.6.205:9000/hbase/MasterData/oldWALs/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727670516635&lt;BR /&gt;2024-09-30 10:13:37,092 INFO&amp;nbsp; [WAL-Archive-0] region.MasterRegionUtils (MasterRegionUtils.java:moveFilesUnderDir(50)) - Moved hdfs://192.168.6.205:9000/hbase/MasterData/oldWALs/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727670516635 to hdfs://192.168.6.205:9000/hbase/oldWALs/dc1-apache-hbase.mobitel.lk%2C16000%2C1727422992087.1727670516635$masterlocalwal$&lt;BR /&gt;2024-09-30 10:14:28,982 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:15:28,983 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:16:28,983 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:16:41,861 INFO&amp;nbsp; [RS-EventLoopGroup-1-1] hbase.Server (ServerRpcConnection.java:processConnectionHeader(550)) - Connection from 192.168.6.205:57364, version=2.5.10, sasl=false, ugi=super (auth:SIMPLE), service=MasterService&lt;BR /&gt;2024-09-30 10:17:28,984 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:18:28,985 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:19:28,985 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;BR /&gt;2024-09-30 10:20:28,985 WARN&amp;nbsp; [master/dc1-apache-hbase:16000:becomeActiveMaster] master.HMaster (HMaster.java:isRegionOnline(1373)) - hbase:meta,,1.1588230740 is NOT online; state={1588230740 state=OPEN, ts=1727422999057, server=dc1-apache-hbase.mobitel.lk,16020,1727159057270}; ServerCrashProcedures=true. Master startup cannot progress, in holding-pattern until region onlined.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 04:55:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-quot-Master-is-initializing-quot-error-in-pseudo/m-p/394186#M248675</guid>
      <dc:creator>Amandi</dc:creator>
      <dc:date>2024-09-30T04:55:50Z</dc:date>
    </item>
  </channel>
</rss>

