YARN-3832. Resource Localization fails on a cluster due to existing cache directories. Contributed by Brahma Reddy Battula
This commit is contained in:
parent
2a20dd9b61
commit
8d58512d6e
|
@ -702,6 +702,9 @@ Release 2.7.1 - UNRELEASED
|
|||
YARN-3809. Failed to launch new attempts because
|
||||
ApplicationMasterLauncher's threads all hang (Jun Gong via jlowe)
|
||||
|
||||
YARN-3832. Resource Localization fails on a cluster due to existing cache
|
||||
directories (Brahma Reddy Battula via jlowe)
|
||||
|
||||
Release 2.7.0 - 2015-04-20
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1340,7 +1340,7 @@ public class ResourceLocalizationService extends CompositeService
|
|||
}
|
||||
|
||||
private void cleanUpLocalDirs(FileContext lfs, DeletionService del) {
|
||||
for (String localDir : dirsHandler.getLocalDirs()) {
|
||||
for (String localDir : dirsHandler.getLocalDirsForCleanup()) {
|
||||
cleanUpLocalDir(lfs, del, localDir);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue