<?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 master start and shutdown after 5min in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173690#M135956</link>
    <description>&lt;P&gt;Try increasing hbase.master.namespace.init.timeout to a bigger value say 2400000&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 20:09:11 GMT</pubDate>
    <dc:creator>gsharma</dc:creator>
    <dc:date>2016-12-28T20:09:11Z</dc:date>
    <item>
      <title>HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173688#M135954</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a cluster with HDP 2.5 installed. Hbase master start and shutdown after 5 min (300000ms) with a stack that seems different than the other stacks encountered in the other messages of this forum. That's why I decided to post this:&lt;/P&gt;&lt;P&gt;Here are the errors that fill the master logs:&lt;/P&gt;&lt;PRE&gt;2016-12-28 12:21:57,531 INFO  [LruBlockCacheStatsExecutor] hfile.LruBlockCache: totalSize=854.48 KB, freeSize=811.72 MB, max=812.55 MB, blockCount=0, accesses=0, hits=0, hitRatio=0, cachingAccesses=0, cachingHits=0, cachingHitsRatio=0,evictions=29, evicted=0, evictedPerRun=0.0
2016-12-28 12:22:05,269 FATAL [cluster1-node4:16000.activeMasterManager] master.HMaster: Failed to become active master
java.io.IOException: Timedout 300000ms waiting for namespace table to be assigned
        at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)
        at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1061)
        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:840)
        at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:213)
        at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1863)
        at java.lang.Thread.run(Thread.java:745)
2016-12-28 12:22:05,271 FATAL [cluster1-node4:16000.activeMasterManager] master.HMaster: Master server abort: loaded coprocessors are: [org.apache.hadoop.hbase.backup.master.BackupController]
2016-12-28 12:22:05,271 FATAL [cluster1-node4:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown.
java.io.IOException: Timedout 300000ms waiting for namespace table to be assigned
        at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)
        at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1061)
        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:840)
        at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:213)
        at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1863)
        at java.lang.Thread.run(Thread.java:745)
2016-12-28 12:22:05,271 INFO  [cluster1-node4:16000.activeMasterManager] regionserver.HRegionServer: STOPPED: Unhandled exception. Starting shutdown.&lt;/PRE&gt;&lt;P&gt;Hbase master log is here: &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10866-hbase-master.txt"&gt;hbase-master.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help that may be provided&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 19:48:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173688#M135954</guid>
      <dc:creator>samuel_sayag</dc:creator>
      <dc:date>2016-12-28T19:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173689#M135955</link>
      <description>&lt;P&gt;what is the other activity happening before this exception ? Is splitting of WAL taking place ? Have you checked NN health and its logs during same time duration ? &lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 19:59:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173689#M135955</guid>
      <dc:creator>gsharma</dc:creator>
      <dc:date>2016-12-28T19:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173690#M135956</link>
      <description>&lt;P&gt;Try increasing hbase.master.namespace.init.timeout to a bigger value say 2400000&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 20:09:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173690#M135956</guid>
      <dc:creator>gsharma</dc:creator>
      <dc:date>2016-12-28T20:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173691#M135957</link>
      <description>&lt;P&gt;No specific activity, I am restarting the HBase services on ambari simply. &lt;/P&gt;&lt;P&gt;I am sorry I don't know what is NN health.&lt;/P&gt;&lt;P&gt;I don't think the timeout is caused by slow start but by :&lt;/P&gt;&lt;PRE&gt;FATAL [cluster1-node4:16000.activeMasterManager] master.HMaster: Failed to become active masterjava.io.IOException: Timedout 300000ms waiting for namespace table to be assigned        at org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:104)        at org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1061)        at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:840)        at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:213)        at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1863)        at java.lang.Thread.run(Thread.java:745)&lt;/PRE&gt;&lt;P&gt;Your advice : increasing 2400000ms =&amp;gt; 40 minutes ??? &lt;/P&gt;&lt;P&gt;I am not really ready to let him try 40 minutes before giving before it reports again about its impossibility "for namespace to be assigned"&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 20:30:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173691#M135957</guid>
      <dc:creator>samuel_sayag</dc:creator>
      <dc:date>2016-12-28T20:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173692#M135958</link>
      <description>&lt;P&gt;Its kind of a corner case issue that large hbase clusters usually do encounter . This was also addressed to the Ambari team to get these values corrected and overridden to a fairly moderate value . Please refer to the link below  where Ted Yu has mentioned these values to be updated:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-16278" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-16278&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Along with what was suggested by &lt;A rel="user" href="https://community.cloudera.com/users/3120/gsharma.html" nodeid="3120"&gt;@gsharma&lt;/A&gt; , please also update the hbase.regionserver.executor.openregion.threads to "20" and then test it again. This will ensure that the number of concurrent threads to process opening of regions is more and will help in faster initialization of the regions.  Again , the values in Ambari are set as per the right threshold and in most of the cases , this will work fine. Only in corner case , do we run into "initialization" of the "namespace" issue . Even after that if it continues, please look at the specific regionserver logs where the "namespace" region is getting assigned to see what issues/ errors that you would encounter.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 07:03:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173692#M135958</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2016-12-29T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: HBase master start and shutdown after 5min</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173693#M135959</link>
      <description>&lt;P&gt;It solves the problem for a cluster with HBase Master = 1 and Region Server = 16 &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7530/skurup.html" nodeid="7530"&gt;@Sumesh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;However &lt;STRONG&gt;hbase.regionserver.executor.openregion.threads = 20&lt;/STRONG&gt; didn't solve the problem. So I read the ambari issue associated and it is advised to take &lt;STRONG&gt;200 NOT 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:47:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-master-start-and-shutdown-after-5min/m-p/173693#M135959</guid>
      <dc:creator>samuel_sayag</dc:creator>
      <dc:date>2016-12-29T15:47:13Z</dc:date>
    </item>
  </channel>
</rss>

