YARN-9965. Fix NodeManager failing to start when Hdfs Auxillary Jar is set. Contributed by Prabhu Joseph.
This commit is contained in:
parent
77934bc07b
commit
516377bfa6
|
@ -351,7 +351,7 @@ public class AuxServices extends AbstractService
|
|||
FileStatus[] allSubDirs = localLFS.util().listStatus(nmAuxDir);
|
||||
for (FileStatus sub : allSubDirs) {
|
||||
if (sub.getPath().getName().equals(downloadDest.getName())) {
|
||||
return new Path(targetDirPath + Path.SEPARATOR + "*");
|
||||
return targetDirPath;
|
||||
} else {
|
||||
if (sub.getPath().getName().contains(className) &&
|
||||
!sub.getPath().getName().endsWith(DEL_SUFFIX)) {
|
||||
|
|
Loading…
Reference in New Issue