Jonathan Hung created YARN-7396:
-----------------------------------
Summary: NPE when accessing container logs due to null dirsHandler
Key: YARN-7396
URL: https://issues.apache.org/jira/browse/YARN-7396
Project: Hadoop YARN
Issue Type: Bug
Reporter: Jonathan Hung
{noformat}java.lang.NullPointerException
at
org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebAppFilter.containerLogPageRedirectPath(NMWebAppFilter.java:96)
at
org.apache.hadoop.yarn.server.nodemanager.webapp.NMWebAppFilter.doFilter(NMWebAppFilter.java:62)
at
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829){noformat}
In YARN-6620 the NMContext creation in {{NodeManager#serviceInit}} was moved.
It's now created before the dirsHandler is initialized. So when
{{nmContext.getLocalDirsHandler}} is called, it's null.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]