hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4131) Add capability to namenode to get snapshot diff
Date Fri, 24 Jul 2015 21:17:04 GMT

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

Yongjun Zhang commented on HDFS-4131:
-------------------------------------

Hi [~jingzhao],

Thanks for your earlier work on this. I have a question. It's said that we won't guarantee
the order of the entries in the diff report at the end of the document page:

http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsSnapshots.html

May I know if it's possible to keep the order? Or it's not possible with current data structure/algorithm?

Thanks a lot.


> Add capability to namenode to get snapshot diff
> -----------------------------------------------
>
>                 Key: HDFS-4131
>                 URL: https://issues.apache.org/jira/browse/HDFS-4131
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: Snapshot (HDFS-2802)
>            Reporter: Suresh Srinivas
>            Assignee: Jing Zhao
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: HDFS-4131.001.patch, HDFS-4131.002.patch, HDFS-4131.003.patch, HDFS-4131.004.patch,
HDFS-4131.005.patch, HDFS-4131.006.patch
>
>
> This jira provides internal data structures and computation processes for calculating
and representing the diff between two snapshots, or the diff between a snapshot and the current
tree. 
> Specifically, a new method getSnapshotDiffReport(Path, String, String) is added to FSNamesystem
to compute the snapshot diff. The snapshot diff is represented as a SnapshotDiffReport internally.
In later jiras we will add support to present the SnapshotDiffReport to end users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message