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

Tsz Wo (Nicholas), SZE commented on HADOOP-6467:
------------------------------------------------

It is better: ~35mins.
- WordCount on har files with the patch
{noformat}
-bash-3.1$ date; time $H ${WC_CMD} ${HAR_FULL}/${DIR} ${TT_WC}2
Sun Feb 14 00:18:08 UTC 2010
10/02/14 00:18:22 INFO input.FileInputFormat: Total input paths to process : 
100000
...
10/02/14 00:46:52 INFO mapred.JobClient: Running job: job_201002042035_33691
10/02/14 00:46:53 INFO mapred.JobClient: map 0% reduce 0%
...
10/02/14 00:53:22 INFO mapred.JobClient: map 100% reduce 100%
10/02/14 00:53:28 INFO mapred.JobClient: Job complete: job_201002042035_33691
...
10/02/14 00:53:29 INFO mapred.JobClient: Reduce input records=16665

real 35m21.704s
user 11m46.324s
sys 2m34.337s
{noformat}

> Performance improvement for liststatus on directories in hadoop archives.
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-6467
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6467
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 0.22.0
>
>         Attachments: Archives_performance.docx, Archives_performance.docx, 
> HADOOP-6467.patch
>
>
> A liststatus call on a directory in hadoop archives leads to ( 2* number of 
> files in directory) open calls to the namenode. This is very sub optimal and 
> needs to be fixed to make it performant enough to be used on a daily basis. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to