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 "Renukaprasad C (Jira)" <ji...@apache.org> on 2021/09/05 05:05:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDFS-16077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Renukaprasad C resolved HDFS-16077.
-----------------------------------
    Resolution: Not A Bug

Private changes caused the bug, not applicable to OS.

> 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
>            Priority: Major
>
> 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