[ https://issues.apache.org/jira/browse/YARN-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811612#comment-17811612 ]
Shilun Fan commented on YARN-11467: ----------------------------------- [~dzcxzl] Thanks for the contribution, added to yarn contributor list, welcome to hadoop! > RM failover may fail when the nodes.exclude-path file does not exist > -------------------------------------------------------------------- > > Key: YARN-11467 > URL: https://issues.apache.org/jira/browse/YARN-11467 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 3.4.0 > Reporter: dzcxzl > Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > > {code:java} > Caused by: org.apache.hadoop.ha.ServiceFailedException: RefreshAll operation > failed > at > org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshAll(AdminService.java:788) > at > org.apache.hadoop.yarn.server.resourcemanager.AdminService.transitionToActive(AdminService.java:315) > ... 29 more > Caused by: java.nio.file.NoSuchFileException: > /tmp/non-existent-path-788aa744-1395-40ca-bdb5-f93bffc92cfb > at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) > at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) > at > sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) > at java.nio.file.Files.newByteChannel(Files.java:361) > at java.nio.file.Files.newByteChannel(Files.java:407) > at > java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) > at java.nio.file.Files.newInputStream(Files.java:152) > at > org.apache.hadoop.util.HostsFileReader.readFileToMap(HostsFileReader.java:126) > at > org.apache.hadoop.util.HostsFileReader.refreshInternal(HostsFileReader.java:214) > at > org.apache.hadoop.util.HostsFileReader.refresh(HostsFileReader.java:192) > at > org.apache.hadoop.yarn.server.resourcemanager.NodesListManager.refreshHostsReader(NodesListManager.java:258) > at > org.apache.hadoop.yarn.server.resourcemanager.NodesListManager.refreshNodes(NodesListManager.java:232) > at > org.apache.hadoop.yarn.server.resourcemanager.NodesListManager.refreshNodes(NodesListManager.java:224) > at > org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshNodes(AdminService.java:490) > at > org.apache.hadoop.yarn.server.resourcemanager.AdminService.refreshAll(AdminService.java:778) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org