hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13163) Reuse pre-computed filestatus in Distcp-CopyMapper
Date Tue, 17 May 2016 04:35:13 GMT
Rajesh Balamohan created HADOOP-13163:
-----------------------------------------

             Summary: 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
            Reporter: Rajesh Balamohan


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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message