[ https://issues.apache.org/jira/browse/HDFS-9721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124664#comment-15124664 ]
Xiao Chen commented on HDFS-9721: --------------------------------- Hm, since it's called in a recursive method, I don't think returning can distinguish it. How does a specific type of Exception (e.g. {{IgnoreSnapshotException}}) sound to you [~eddyxu]? We can ignore that and log IOE then. > Allow Delimited PB OIV tool to run upon fsimage that contains INodeReference > ---------------------------------------------------------------------------- > > Key: HDFS-9721 > URL: https://issues.apache.org/jira/browse/HDFS-9721 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Xiao Chen > Assignee: Xiao Chen > Attachments: HDFS-9721.01.patch, HDFS-9721.02.patch, > HDFS-9721.03.patch > > > HDFS-6673 added the feature of Delimited format OIV tool on protocol buffer > based fsimage. > However, if the fsimage contains {{INodeReference}}, the tool fails because: > {code}Preconditions.checkState(e.getRefChildrenCount() == 0);{code} > This jira is to propose allow the tool to finish, so that user can get full > metadata. -- This message was sent by Atlassian JIRA (v6.3.4#6332)