[
https://issues.apache.org/jira/browse/HADOOP-14983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368668#comment-17368668
]
Ayush Saxena commented on HADOOP-14983:
---------------------------------------
[~manojg] do you plan to work on this? If not I can take this up
> DistCp diff option support for snapshot root descendant directories
> -------------------------------------------------------------------
>
> Key: HADOOP-14983
> URL: https://issues.apache.org/jira/browse/HADOOP-14983
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Manoj Govindassamy
> Assignee: Manoj Govindassamy
> Priority: Major
>
> HDFS-12544 enables SnapshotDiff generation on any snapshot root descendant
> directory. Previous to this, all snapshot diff operations had to be based on
> snapshot root directory. DistCp already supports update diff option by which
> snapshot diff report between any given two snapshots can be used to identify
> the difference between source and target, and apply the diff to the target to
> make it in sync with source. But, the snapshot source and target paths need
> to be a snapshot root directory for the diff option to work.
> {noformat}
> DistCp -update -diff <oldSnapshot> <newSnapshot> <source-snapshot-root-dir>
> <target-snapshot-root-dir>
> {noformat}
> Better if DistCp can also support update diff option on any descendant
> directories under snapshot root, provided HDFS-12544 is enabled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]