YARN-3832. Resource Localization fails on a cluster due to existing cache directories. Contributed by Brahma Reddy Battula
(cherry picked from commit 8d58512d6e
)
This commit is contained in:
parent
37b89deccf
commit
41d9677740
|
@ -166,6 +166,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
|
||||
|
|
|
@ -1284,7 +1284,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