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

Hadoop QA commented on HADOOP-16775:
------------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red} 17m 
50s{color} | {color:red} Docker failed to build yetus/hadoop:1ee6d432f84. 
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HADOOP-16775 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12989356/HADOOP-16775.branch-2.10.0.patch
 |
| Console output | 
https://builds.apache.org/job/PreCommit-HADOOP-Build/16713/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> Hadoop DistCp reuses the same temp file within the task for different files.
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-16775
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16775
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 2.0
>            Reporter: Amir Shenavandeh
>            Priority: Major
>              Labels: DistCp, S3, hadoop-tools
>         Attachments: HADOOP-16775.branch-2.10.0.patch, HADOOP-16775.patch
>
>
> Hadoop DistCp reuses the same temp file name for all the files copied within 
> each task attempt and then moves them to the target name, which is also a 
> server side copy. For copies to S3, this will cause inconsistency as S3 is 
> only consistent for reads after writes, for brand new objects. There is also 
> inconsistency for contents of overwritten objects on S3.
> To avoid this, we should randomize the temp file name and for each temp file 
> use a different name.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to