You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Lin Yiqun (JIRA)" <ji...@apache.org> on 2016/03/31 11:29:25 UTC
[jira] [Commented] (HDFS-10234) DistCp log output should contain
copied and deleted files and directories
[ https://issues.apache.org/jira/browse/HDFS-10234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219646#comment-15219646 ]
Lin Yiqun commented on HDFS-10234:
----------------------------------
Upload a simple patch from me. I added the log output info for copying and and creating directories. But it seems there was no place indicated that the file is deleted in class {{CopyMapper}}. Can this patch satisfied you. If I was missing something, you can tell me.
> 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
> Attachments: HDFS-10234.001.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.3.4#6332)