hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11785) Reduce number of listStatus operation in distcp buildListing()
Date Sat, 04 Apr 2015 18:11:36 GMT

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

Hudson commented on HADOOP-11785:

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #154 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/154/])
HADOOP-11785. Reduce the number of listStatus operation in distcp buildListing (Zoran Dimitrijevic
via Colin P. McCabe) (cmccabe: rev 932730df7d62077f7356464ad27f69469965d77a)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-tools/hadoop-distcp/src/main/java/org/apache/hadoop/tools/SimpleCopyListing.java

> Reduce number of listStatus operation in distcp buildListing()
> --------------------------------------------------------------
>                 Key: HADOOP-11785
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11785
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools/distcp
>    Affects Versions: 3.0.0
>            Reporter: Zoran Dimitrijevic
>            Assignee: Zoran Dimitrijevic
>            Priority: Minor
>             Fix For: 2.8.0
>         Attachments: distcp-liststatus.patch, distcp-liststatus2.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> Distcp was taking long time in copyListing.buildListing() for large source trees (I was
using source of 1.5M files in a tree of about 50K directories). For input at s3 buildListing
was taking more than one hour. I've noticed a performance bug in the current code which does
listStatus twice for each directory which doubles number of RPCs in some cases (if most directories
do not contain >1000 files).

This message was sent by Atlassian JIRA

View raw message