[
https://issues.apache.org/jira/browse/YARN-601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated YARN-601:
-----------------------------------------
Issue Type: Improvement (was: Bug)
> Refactoring the code which computes the user file cache and user application
> file cache paths
> ---------------------------------------------------------------------------------------------
>
> Key: YARN-601
> URL: https://issues.apache.org/jira/browse/YARN-601
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Omkar Vinit Joshi
> Priority: Minor
>
> At present at multiple places user local cache file path and user application
> file path are getting calculated.
> It is better to expose them as a single static utility method and reuse them
> everywhere else.
> Locations :
> * ContainerLaunch
> * DefaultContainerExecutor: this already has some methods like this
> * ResourceLocalizationService: getUserCacheFilePath getAppFileCachePath
> * ContainerLocalizer
> * ShuffleHandler.Shuffle
> * TestContainerLocalizer, TestContainerManager, TestDefaultContainerExecutor
> and TestResourceLocalizationService.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira