[ 
https://issues.apache.org/jira/browse/HDFS-16077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365410#comment-17365410
 ] 

Stephen O'Donnell commented on HDFS-16077:
------------------------------------------

I didn't think that OIV had been modified to use the sub-sections. Are you 
running a version where OIV has been modified to attempt to process the image 
in parallel?

Can you post the full stack trace you encountered to the Jira for reference?

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to