[
https://issues.apache.org/jira/browse/MAPREDUCE-7073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira Ajisaka updated MAPREDUCE-7073:
-------------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.1.1
3.0.3
3.2.0
2.8.4
2.9.1
2.10.0
Status: Resolved (was: Patch Available)
Committed this to trunk, branch-3.1, branch-3.0, branch-2, branch-2.9, and
branch-2.8. Thanks [~bibinchundatt] for the optimization!
> Optimize TokenCache#obtainTokensForNamenodesInternal
> ----------------------------------------------------
>
> Key: MAPREDUCE-7073
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7073
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Priority: Major
> Fix For: 2.10.0, 2.9.1, 2.8.4, 3.2.0, 3.0.3, 3.1.1
>
> Attachments: MAPREDUCE-7073.001.patch, MAPREDUCE-7073.002.patch
>
>
> {{FileInputFormat#listStatus}} is too slow file system cache is disabled.
> {{TokenCache#obtainTokensForNamenodesInternal}} for every filesystem instance
> {{Master.getMasterPrincipal(conf)}} is caled which reloads YarnConfiguration .
> For fileInput with 1k file will reload YarnConfiguration 1k times.
> {{Master.getMasterPrincipal(conf)}} can be passed for
> {{obtainTokensForNamenodesInternal}} per filesystem call.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]