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
14afa5d53d
commit
15b1800b12
|
@ -658,6 +658,9 @@ Release 2.7.1 - UNRELEASED
|
||||||
YARN-3809. Failed to launch new attempts because
|
YARN-3809. Failed to launch new attempts because
|
||||||
ApplicationMasterLauncher's threads all hang (Jun Gong via jlowe)
|
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
|
Release 2.7.0 - 2015-04-20
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -1340,7 +1340,7 @@ public class ResourceLocalizationService extends CompositeService
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cleanUpLocalDirs(FileContext lfs, DeletionService del) {
|
private void cleanUpLocalDirs(FileContext lfs, DeletionService del) {
|
||||||
for (String localDir : dirsHandler.getLocalDirs()) {
|
for (String localDir : dirsHandler.getLocalDirsForCleanup()) {
|
||||||
cleanUpLocalDir(lfs, del, localDir);
|
cleanUpLocalDir(lfs, del, localDir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue