hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuyanyu (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-16946) Distcp print wrong log info when use -log
Date Tue, 31 Mar 2020 12:39:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-16946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071739#comment-17071739

liuyanyu edited comment on HADOOP-16946 at 3/31/20, 12:38 PM:

[~ayushtkn]  for the skipped scenario, I test it, It is ok here



was (Author: rain_lyy):
[~ayushtkn]  for the skipped scenario, I test it, It is ok here !image-2020-03-31-20-36-28-759.png!

> Distcp print wrong log info when use -log
> -----------------------------------------
>                 Key: HADOOP-16946
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16946
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.1.1
>            Reporter: liuyanyu
>            Assignee: liuyanyu
>            Priority: Minor
>         Attachments: HDFS-15241.001.patch, image-2020-03-25-17-28-33-394.png, image-2020-03-31-20-36-28-759.png
> when run distcp with -log /logpath -v, distcp will print copy status and file info to
/logpath, but print log with wrong file zise. The logs print as follows:
> FILE_COPIED: source=hdfs://ns1/test/stax2-api-3.1.4.jar, size=161867 --> target=hdfs://ns1/tmp/target/stax2-api-3.1.4.jar,
> As I analysis ,the root cause is as follows:
> targrtFileStatus got before copying. So targrtFileStatus is null. Here should get targrtFileStatus
again after file copying.
> !image-2020-03-25-17-28-33-394.png!

This message was sent by Atlassian Jira

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message