<?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 Never Start up after HCP cluster restart in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225641#M79770</link>
    <description>&lt;P&gt;Looks like problem with datanodes. Check whether all datanodes are up. &lt;/P&gt;&lt;P&gt; Once HDFS/Datanodes are healthy. Then you will be able to start HBase.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jun 2018 14:27:45 GMT</pubDate>
    <dc:creator>schhabra1</dc:creator>
    <dc:date>2018-06-23T14:27:45Z</dc:date>
    <item>
      <title>HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225639#M79768</link>
      <description>&lt;P&gt;I've set up my HCP cluster with 4 nodes. But I observed that my HBase Master never starts up after cluster restart. If I leave the cluster up and running from the installation time, then HBase works fine. But once I shut down the cluster and the try to start again Master fails to start.&lt;/P&gt;&lt;P&gt;When I looked into the master log I found out that, during shut down time there was the following warning entries:&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;2018-06-14 14:48:14,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Unable to determine a plan to assign {ENCODED =&amp;gt; 1588230740, NAME =&amp;gt; 'hbase:meta,,1', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; ''}
2018-06-14 14:48:15,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Can't move 1588230740, there is no destination server available.
2018-06-14 14:48:15,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Unable to determine a plan to assign {ENCODED =&amp;gt; 1588230740, NAME =&amp;gt; 'hbase:meta,,1', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; ''}
2018-06-14 14:48:16,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Can't move 1588230740, there is no destination server available.
2018-06-14 14:48:16,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Unable to determine a plan to assign {ENCODED =&amp;gt; 1588230740, NAME =&amp;gt; 'hbase:meta,,1', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; ''}
2018-06-14 14:48:17,099 WARN  [MASTER_META_SERVER_OPERATIONS-vmbdsiwbdn2:16000-3] master.AssignmentManager: Can't move 1588230740, there is no destination server available.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;And on Cluster restart, I found the following warning entries in the master log file:&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;2018-06-15 14:12:41,118 INFO  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: No node available for BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001
2018-06-15 14:12:41,118 INFO  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: Could not obtain BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 from any node: java.io.IOException: No live nodes contain block BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 after checking nodes = [], ignoredNodes = null No live nodes contain current block Block locations: Dead nodes: . Will get new block locations from namenode and retry...
2018-06-15 14:12:41,119 WARN  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: DFS chooseDataNode: got # 3 IOException, will wait for 11833.399457334988 msec.
2018-06-15 14:12:52,955 WARN  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: Could not obtain block: BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001 No live nodes contain current block Block locations: Dead nodes: . Throwing a BlockMissingException
2018-06-15 14:12:52,955 WARN  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: Could not obtain block: BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001 No live nodes contain current block Block locations: Dead nodes: . Throwing a BlockMissingException
2018-06-15 14:12:52,956 WARN  [vmbdsiwbdn2:16000.activeMasterManager] hdfs.DFSClient: DFS Read
org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001&lt;/P&gt;&lt;P&gt;2018-06-15 14:12:52,958 FATAL [vmbdsiwbdn2:16000.activeMasterManager] master.HMaster: Failed to become active master
org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Please suggest how to overcome this scenario.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:54:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225639#M79768</guid>
      <dc:creator>victor_sarkar28</dc:creator>
      <dc:date>2018-06-21T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225640#M79769</link>
      <description>&lt;P&gt;Can you check whether HDFS is healthy. Do you see any missing blocks in namenode?&lt;/P&gt;&lt;P&gt;2018-06-15 14:12:52,958 FATAL [vmbdsiwbdn2:16000.activeMasterManager] master.HMaster: Failed to become active master org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-1307428289-10.0.0.4-&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 21:45:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225640#M79769</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-06-22T21:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225641#M79770</link>
      <description>&lt;P&gt;Looks like problem with datanodes. Check whether all datanodes are up. &lt;/P&gt;&lt;P&gt; Once HDFS/Datanodes are healthy. Then you will be able to start HBase.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 14:27:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225641#M79770</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-06-23T14:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225642#M79771</link>
      <description>&lt;P&gt;Yes...HDFS has reported missing blocks...NameNode Critical error : Total Blocks:[99], Missing Blocks:[7]&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 14:29:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225642#M79771</guid>
      <dc:creator>victor_sarkar28</dc:creator>
      <dc:date>2018-06-23T14:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225643#M79772</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Victor Sarkar"&gt;@Victor Sarkar &lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.hortonworks.com/users/74203/victorsarkar2802.html"&gt;&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is the culprit "&lt;STRONG&gt;Could not obtain block: BP-1307428289-10.0.0.4-1528240888625:blk_1073741830_1006 file=/apps/hbase/data/data/hbase/meta/.tabledesc/.tableinfo.0000000001&lt;/STRONG&gt;"&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;How did you shutdown the cluster?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;List the corrupt HDFS blocks: &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck -list-corruptfileblocks &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Remove corrupt block with below method &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck / -delete &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Determine problematic files with problems&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck / | egrep -v '^\.+ &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Once you found the files that are corrupt delete them &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fsck /path/to/corrupt/file -locations -blocks -files &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Repeat until all files are healthy or you exhaust all alternatives looking for the blocks.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Once you determine what happened and you cannot recover any more blocks, just use the &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;$ hdfs fs -rm /path/to/file/with/permanently/missing/blocks&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;I&gt;HTH&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jun 2018 17:55:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225643#M79772</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-06-23T17:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Master Never Start up after HCP cluster restart</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225644#M79773</link>
      <description>&lt;P&gt;I did follow the same step to check for the corrupted blocks which are causing the HBase Master start up error and then deleted the same. Once done restarted the HBase services successfully.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 21:16:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Master-Never-Start-up-after-HCP-cluster-restart/m-p/225644#M79773</guid>
      <dc:creator>victor_sarkar28</dc:creator>
      <dc:date>2018-06-24T21:16:20Z</dc:date>
    </item>
  </channel>
</rss>

