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

Hudson commented on HADOOP-13163:
---------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9790 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9790/])
HADOOP-13163 Reuse pre-computed filestatus in Distcp-CopyMapper (Rajesh 
(stevel: rev c69a649257a331da55c1a1bf61c819e289015a6b)
* 
hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyMapper.java


> Reuse pre-computed filestatus in Distcp-CopyMapper
> --------------------------------------------------
>
>                 Key: HADOOP-13163
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13163
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 2.8.0
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-13163.001.patch
>
>
> https://github.com/apache/hadoop/blob/af942585a108d70e0946f6dd4c465a54d068eabf/hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/mapred/CopyMapper.java#L185
> targetStatus is already computed and it can be reused in checkUpdate() 
> function. This wouldn't be a major issue in NN/HDFS, but in the case of S3 
> getFileStatus calls can be expensive.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to