[
https://issues.apache.org/jira/browse/HDFS-13890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16602077#comment-16602077
]
Adam Antal commented on HDFS-13890:
-----------------------------------
My first idea is that the Delimited output could be extended with an additional
column: "Is snapshot?" having values Y or N. Rows with "Y" will contain the
snapshots. The regular pieces of information could be acquired in the same way
as a regular inode, while the "Is snapshot" and the path columns can be
extracted from the PBImageTextWriter by:
# not throwing exceptions when calling getParentPath() on snapshotted inode
# keeping track of the ids by passing the list of INodeReferences (refIdList)
from the visit function of PBImageTextWriter
[~xiaochen], I saw that you worked on the original issue. Could you please
advise on this?
> Allow Delimited PB OIV tool to print out INodeReferences
> --------------------------------------------------------
>
> Key: HDFS-13890
> URL: https://issues.apache.org/jira/browse/HDFS-13890
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: Adam Antal
> Assignee: Adam Antal
> Priority: Minor
>
> HDFS-9721 added the possibility to process PB-based FSImages containing
> snapshots by simply ignoring them.
> Although the XML tool can provide information about the snapshots, the user
> may find helpful if this is shown within the Delimited output (in the
> Delimited format).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]