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

Szilard Nemeth commented on MAPREDUCE-7309:
-------------------------------------------

Thanks [~pbacsko] & [~wangda] for working on this.

Latest patch LGTM, committed to trunk.

 

[~pbacsko] Do you want to backport this to 3.2 and 3.1? Especially asking this 
because the description mentions all releases are affected that has YARN-6927.

Also, can you add some info of the problematic method 
(org.apache.hadoop.conf.Configuration#getValByRegex) and the way it is used by 
TaskAttemptImpl to the description of this jira?

Thanks

> Improve performance of reading resource request for mapper/reducers from 
> config
> -------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7309
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7309
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: applicationmaster
>    Affects Versions: 3.0.0, 3.1.0, 3.2.0, 3.3.0
>            Reporter: Wangda Tan
>            Assignee: Peter Bacsko
>            Priority: Major
>         Attachments: MAPREDUCE-7309-003.patch, MAPREDUCE-7309-004.patch, 
> MAPREDUCE-7309-005.patch, MAPREDUCE-7309.001.patch, MAPREDUCE-7309.002.patch
>
>
> This is an issue could affect all the releases which includes YARN-6927. 
> Basically, we use regex match repeatedly when we read mapper/reducer resource 
> request from config files. When we have large config file, and large number 
> of splits, it could take a long time.  
> We saw AM could take hours to parse config when we have 200k+ splits, with a 
> large config file (hundreds of kbs). 
> We should do proper caching for pre-configured resource requests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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