You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ravuri Sushma sree (Jira)" <ji...@apache.org> on 2021/06/18 09:05:00 UTC

[jira] [Created] (HDFS-16077) OIV parsing tool throws NPE for a FSImage with multiple InodeSections

Ravuri Sushma sree created HDFS-16077:
-----------------------------------------

             Summary: OIV parsing tool throws NPE for a FSImage with multiple InodeSections
                 Key: HDFS-16077
                 URL: https://issues.apache.org/jira/browse/HDFS-16077
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ravuri Sushma sree
            Assignee: Renukaprasad C


An FSImage with Multiple InodeSections is resulting in NPE when accessed through OIV Tool with default Parser (WEB)

This issue is reproducible only with multiple InodeSections (Writing more than 1 Million Files) 

On analyzing the code further we found that NPE is caused in org.apache.hadoop.hdfs.tools.offlineImageViewer.FSImageLoader.fromINodeId(long). fromINodeId(long) is searching for Inode in an Inodesection which doesn't have the Inode(but exists in another InodeSection)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org