[
https://issues.apache.org/jira/browse/HDFS-10234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145775#comment-16145775
]
Xiaoyu Yao commented on HDFS-10234:
-----------------------------------
Thanks [~linyiqun] for the update. The patch v3 looks pretty good to me. I just
have few comments below:
DistCpOptionSwitch.java
Line 125: NIT: "Log additional info (path, size) in the SKIP/COPY log."
CopyMapper.java
Line 86: NIT: verboseWrite -> verboseLog
Line 110: Can we check and ensure verboseWrite can only be used with -log
option?
DistCp.md.vm
Line 223: `-v` | Log additional info (path, size) in the SKIP/COPY log | This
option can
only be used with -log option.
> DistCp log output should contain copied and deleted files and directories
> -------------------------------------------------------------------------
>
> Key: HDFS-10234
> URL: https://issues.apache.org/jira/browse/HDFS-10234
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: distcp
> Affects Versions: 2.7.1
> Reporter: Konstantin Shaposhnikov
> Assignee: Yiqun Lin
> Attachments: HDFS-10234.001.patch, HDFS-10234.002.patch,
> HDFS-10234.003.patch
>
>
> DistCp log output (specified via {{-log}} command line option) currently
> contains only skipped and failed (when failures are ignored via {{-i}}) files.
> It will be more useful if it also contains copied and deleted files and
> created directories.
> This should be fixed in
> https://github.com/apache/hadoop/blob/branch-2.7.1/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyMapper.java
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]