hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7396) NPE when accessing container logs due to null dirsHandler
Date Wed, 25 Oct 2017 23:06:00 GMT
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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message