<?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: Unable to load into HBase due to error with data blocks in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120491#M34270</link>
    <description>&lt;P&gt;This issue was resolved by restarting the namenode.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 14:09:43 GMT</pubDate>
    <dc:creator>joshua_adeleke</dc:creator>
    <dc:date>2016-08-01T14:09:43Z</dc:date>
    <item>
      <title>Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120485#M34264</link>
      <description>&lt;P&gt;I get an error "&lt;EM&gt;&lt;STRONG&gt;Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 18, &amp;lt;datanode&amp;gt;): java.io.IOException: Cannot obtain block length for LocatedBlock{BP-1426797840-1461158403571:blk_1089439824_15699635; getBlockSize()=0; corrupt=false; offset=0; locs=[DatanodeInfoWithStorage[,DISK], DatanodeInfoWithStorage[,DISK], DatanodeInfoWithStorage[,DISK]]}&lt;/STRONG&gt;&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;The background to this is: We changed our Oozie DB to MySQL and on restarting the cluster, the namenode failed with connectionRefused error. It was started manually from the CLI and after restarted with Ambari and it worked fine. I have used hdfs fsck to check for corrupt files but i get a 'healthy' status report.&lt;/P&gt;&lt;P&gt;Any clue as to how i can get past this issue? &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:44:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120485#M34264</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2016-07-08T22:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120486#M34265</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/37412/cannot-obtain-block-length-for-locatedblock.html" target="_blank"&gt;https://community.hortonworks.com/questions/37412/cannot-obtain-block-length-for-locatedblock.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:47:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120486#M34265</guid>
      <dc:creator>srai1</dc:creator>
      <dc:date>2016-07-08T22:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120487#M34266</link>
      <description>&lt;P&gt;Can you share the hdfs fsck command you ran? It definitely sounds like HDFS is not healthy.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:50:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120487#M34266</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-07-08T22:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120488#M34267</link>
      <description>&lt;P&gt;@srai Please find below the report i got from running &lt;EM&gt;&lt;STRONG&gt;hdfs fsck /&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;...............................Status: HEALTHY
 Total size:    84086783290897 B (Total open files size: 35725218 B)
 Total dirs:    255918
 Total files:   7090531
 Total symlinks:                0 (Files currently being written: 464)
 Total blocks (validated):      7131287 (avg. block size 11791249 B) (Total open file blocks (not validated): 86)
 Corrupt blocks:                0
 Number of data-nodes:          8
 Number of racks:               1
FSCK ended at Fri Jul 08 16:43:47 SAST 2016 in 141368 milliseconds
The filesystem under path '/' is HEALTHY&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 23:00:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120488#M34267</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2016-07-08T23:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120489#M34268</link>
      <description>&lt;P&gt;Here is another one below, Josh.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Status: HEALTHY
 Total size:    84184775260004 B (Total open files size: 36288883 B)
 Total dirs:    255954
 Total files:   7102482
 Total symlinks:                0 (Files currently being written: 456)
 Total blocks (validated):      7143238 (avg. block size 11785240 B) (Total open file blocks (not validated): 79)
 Minimally replicated blocks:   7143238 (100.0 %)
 Over-replicated blocks:        0 (0.0 %)
 Under-replicated blocks:       130 (0.0018199029 %)
 Mis-replicated blocks:         0 (0.0 %)
 Default replication factor:    3
 Average block replication:     2.9979758
 Corrupt blocks:                0
 Missing replicas:              257 (0.0012000647 %)
 Number of data-nodes:          8
 Number of racks:               1
FSCK ended at Fri Jul 08 18:29:19 SAST 2016 in 239594 milliseconds
The filesystem under path '/' is HEALTHY&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 23:37:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120489#M34268</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2016-07-08T23:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120490#M34269</link>
      <description>&lt;P&gt;
	Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/3938/joshuaadeleke.html" nodeid="3938"&gt;@Joshua Adeleke&lt;/A&gt;. Like in the other question linked by Srai, if you know the specific file(s) your job is reading, you could try to use the `hdfs debug recoverLease` command on those files. Normally, a lease on an HDFS file will expire automatically if the writer abnormally goes away without closing the file. If you are sure no client is trying to write the file, you could try the recoverLease to force the NN to let this operation succeed.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2016 00:24:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120490#M34269</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2016-07-09T00:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load into HBase due to error with data blocks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120491#M34270</link>
      <description>&lt;P&gt;This issue was resolved by restarting the namenode.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 14:09:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-load-into-HBase-due-to-error-with-data-blocks/m-p/120491#M34270</guid>
      <dc:creator>joshua_adeleke</dc:creator>
      <dc:date>2016-08-01T14:09:43Z</dc:date>
    </item>
  </channel>
</rss>

