YARN-3832. Resource Localization fails on a cluster due to existing cache directories. Contributed by Brahma Reddy Battula
(cherry picked from commit8d58512d6e
) (cherry picked from commit15b1800b12
) (cherry picked from commit 38400507e3352d83c2a1f364de137366249b7983)
This commit is contained in:
parent
4f53c98ca4
commit
f21fb808f1
|
@ -156,6 +156,9 @@ Release 2.6.1 - UNRELEASED
|
|||
YARN-3585. NodeManager cannot exit on SHUTDOWN event triggered and NM
|
||||
recovery is enabled (Rohith Sharmaks via jlowe)
|
||||
|
||||
YARN-3832. Resource Localization fails on a cluster due to existing cache
|
||||
directories (Brahma Reddy Battula via jlowe)
|
||||
|
||||
Release 2.6.0 - 2014-11-18
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -1271,7 +1271,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