[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7370?focusedWorklogId=782991&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-782991
 ]

ASF GitHub Bot logged work on MAPREDUCE-7370:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jun/22 14:02
            Start Date: 20/Jun/22 14:02
    Worklog Time Spent: 10m 
      Work Description: ashutoshcipher commented on PR #4248:
URL: https://github.com/apache/hadoop/pull/4248#issuecomment-1160488616

   > Thanks @ashutoshcipher for the patch.
   > 
   >     1. Can you include the same improvement to new api 
org.apache.hadoop.mapreduce.lib.output.MultipleOutputs as well.
   > 
   >     2. Can you add a test case if possible, else pls provide a reason.
   
   Thanks @PrabhuJoseph for review and suggestions.
   
   1. I have updated the 
```org.apache.hadoop.mapreduce.lib.output.MultipleOutputs``` as well.
   2. I think we dont need a specific unit test in this case as we just 
paralleling the current calls and current unit tests are already testing the 
over features/cases
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 782991)
    Time Spent: 40m  (was: 0.5h)

> Parallelize MultipleOutputs#close call
> --------------------------------------
>
>                 Key: MAPREDUCE-7370
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7370
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 3.3.0
>            Reporter: Prabhu Joseph
>            Assignee: Ashutosh Gupta
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This call takes more time when there are lot of files to close and there is a 
> high latency to close. Parallelize MultipleOutputs#close call to improve the 
> speed.
> {code}
>   public void close() throws IOException {
>     for (RecordWriter writer : recordWriters.values()) {
>       writer.close(null);
>     }
>   }
> {code}
> Idea is from [~ste...@apache.org]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to