<?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 HDFS client fails with &amp;quot;ArrayIndexOutofBoundsException&amp;quot; in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-client-fails-with-quot-ArrayIndexOutofBoundsException/m-p/231564#M70041</link>
    <description>&lt;P&gt;We have completely same problem as &lt;A href="https://issues.apache.org/jira/browse/HDFS-11797" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797&lt;/A&gt; with HDP 2.6.1.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11797?focusedCommentId=16039577&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16039577" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797?focusedCommentId=16039577&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16039577&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.hdfs.server.blockmanagement.BlockManager: Inconsistent number of corrupt replicas for blk_123456789_123456 blockMap has 0 but corrupt replicas map has 1
 org.apache.hadoop.ipc.Server: IPC Server handler 34 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.getListing from xxx.xxx.xxx.xxx:xxxxx Call#91 Retry#0 java.lang.ArrayIndexOutOfBoundsException&lt;/PRE&gt;&lt;P&gt;Actually, our hive client fails for this problem. and hdfs fsck command also fails for this hdfs file with this problem.&lt;/P&gt;&lt;P&gt;I read a series of JIRA tickets.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-9958" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-9958&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-10788" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-10788&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11797" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11445" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11445&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At the second last comment of HDFS-11755&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16200946&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16200946" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16200946&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16200946&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;As discussed in HDFS-11445, a regression caused by HDFS-11445 is fixed by HDFS-11755. I'd like to backport HDFS-11755 into branch-2.7 as a result.&lt;/PRE&gt;&lt;P&gt;and,&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16201164&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16201164" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16201164&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16201164&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Filed HDFS-12641 to initiate the discussion.&lt;/PRE&gt;&lt;P&gt;and &lt;A href="https://issues.apache.org/jira/browse/HDFS-12641" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-12641&lt;/A&gt; is not resolved.&lt;/P&gt;&lt;P&gt;I'm not sure, but HDFS-12641 may be only for CDH???&lt;/P&gt;&lt;P&gt;I've also checked,  HDFS-11445 is not included in HDP 2.6.1. but, it's included in HDP 2.6.2.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_release-notes/content/patch_hadoop.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_release-notes/content/patch_hadoop.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/patch_hadoop.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/patch_hadoop.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So, can someone confirm that our current problem with message "blockMap has 0 but corrupt replicas map has 1"  is safely fixed with HDP 2.6.2 with HDFS-11445?&lt;/P&gt;&lt;P&gt;Actually, we plan to upgrade from HDP 2.6.1 to HDP 2.6.2. but I'm worry about that upgrading to HDP 2.6.2 would make new problem such as HDFS-11755 says "a regression caused by HDFS-11445 is fixed by HDFS-11755."...&lt;/P&gt;&lt;P&gt;I've confirmed HDFS-11755 is not included in HDP 2.6.1, HDP 2.6.2.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Oct 2017 00:23:26 GMT</pubDate>
    <dc:creator>tomo_hirano</dc:creator>
    <dc:date>2017-10-21T00:23:26Z</dc:date>
    <item>
      <title>HDFS client fails with "ArrayIndexOutofBoundsException"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-client-fails-with-quot-ArrayIndexOutofBoundsException/m-p/231564#M70041</link>
      <description>&lt;P&gt;We have completely same problem as &lt;A href="https://issues.apache.org/jira/browse/HDFS-11797" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797&lt;/A&gt; with HDP 2.6.1.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11797?focusedCommentId=16039577&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16039577" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797?focusedCommentId=16039577&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16039577&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;org.apache.hadoop.hdfs.server.blockmanagement.BlockManager: Inconsistent number of corrupt replicas for blk_123456789_123456 blockMap has 0 but corrupt replicas map has 1
 org.apache.hadoop.ipc.Server: IPC Server handler 34 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.getListing from xxx.xxx.xxx.xxx:xxxxx Call#91 Retry#0 java.lang.ArrayIndexOutOfBoundsException&lt;/PRE&gt;&lt;P&gt;Actually, our hive client fails for this problem. and hdfs fsck command also fails for this hdfs file with this problem.&lt;/P&gt;&lt;P&gt;I read a series of JIRA tickets.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-9958" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-9958&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-10788" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-10788&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11797" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11797&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11445" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11445&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755&lt;/A&gt;&lt;/P&gt;&lt;P&gt;At the second last comment of HDFS-11755&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16200946&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16200946" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16200946&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16200946&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;As discussed in HDFS-11445, a regression caused by HDFS-11445 is fixed by HDFS-11755. I'd like to backport HDFS-11755 into branch-2.7 as a result.&lt;/PRE&gt;&lt;P&gt;and,&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16201164&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16201164" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-11755?focusedCommentId=16201164&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16201164&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;Filed HDFS-12641 to initiate the discussion.&lt;/PRE&gt;&lt;P&gt;and &lt;A href="https://issues.apache.org/jira/browse/HDFS-12641" target="_blank"&gt;https://issues.apache.org/jira/browse/HDFS-12641&lt;/A&gt; is not resolved.&lt;/P&gt;&lt;P&gt;I'm not sure, but HDFS-12641 may be only for CDH???&lt;/P&gt;&lt;P&gt;I've also checked,  HDFS-11445 is not included in HDP 2.6.1. but, it's included in HDP 2.6.2.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_release-notes/content/patch_hadoop.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_release-notes/content/patch_hadoop.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/patch_hadoop.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_release-notes/content/patch_hadoop.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So, can someone confirm that our current problem with message "blockMap has 0 but corrupt replicas map has 1"  is safely fixed with HDP 2.6.2 with HDFS-11445?&lt;/P&gt;&lt;P&gt;Actually, we plan to upgrade from HDP 2.6.1 to HDP 2.6.2. but I'm worry about that upgrading to HDP 2.6.2 would make new problem such as HDFS-11755 says "a regression caused by HDFS-11445 is fixed by HDFS-11755."...&lt;/P&gt;&lt;P&gt;I've confirmed HDFS-11755 is not included in HDP 2.6.1, HDP 2.6.2.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 00:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-client-fails-with-quot-ArrayIndexOutofBoundsException/m-p/231564#M70041</guid>
      <dc:creator>tomo_hirano</dc:creator>
      <dc:date>2017-10-21T00:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS client fails with "ArrayIndexOutofBoundsException"</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-client-fails-with-quot-ArrayIndexOutofBoundsException/m-p/231565#M70042</link>
      <description>&lt;P&gt;After upgrading our cluster from HDP 2.6.1 to HDP 2.6.2, the following WARN message is not output in NameNode's log.&lt;/P&gt;&lt;PRE&gt;WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockManager: Inconsistent number of corrupt replicas for blk_xxxx_xxxx blockMap has 0 but corrupt replicas map has 1
&lt;/PRE&gt;&lt;P&gt;So, the problem seems to be fixed by this upgrading in our clusters.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 16:04:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-client-fails-with-quot-ArrayIndexOutofBoundsException/m-p/231565#M70042</guid>
      <dc:creator>tomo_hirano</dc:creator>
      <dc:date>2017-11-13T16:04:17Z</dc:date>
    </item>
  </channel>
</rss>

