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

Ewan Higgs updated HDFS-13118:
------------------------------
             Assignee: Ewan Higgs
    Affects Version/s: 3.0.0
               Status: Patch Available  (was: Open)

Added a patch that adds the INodeType to the SnapshotDiffReport. This will make 
it easier to make programatic comparisons between sides of a snapshot. This 
includes a new field in the profobuf: {{fileType}} that reuses the existing 
enum from the {{HdfsFileStatusProto}}. This field is optional with the 
intention of being backwards compatible.

This does not change the printed output of the command line for 
{{snapshotDiff}}.

> SnapshotDiffReport should provide the INode type
> ------------------------------------------------
>
>                 Key: HDFS-13118
>                 URL: https://issues.apache.org/jira/browse/HDFS-13118
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: snapshots
>    Affects Versions: 3.0.0
>            Reporter: Ewan Higgs
>            Assignee: Ewan Higgs
>            Priority: Major
>         Attachments: HDFS-13118.001.patch
>
>
> Currently the snapshot diff report will list which inodes were added, 
> removed, renamed, etc. But to see what the INode actually is, we need to 
> actually access the underlying snapshot - and this is cumbersome to do 
> programmatically when the snapshot diff already has the information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to