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] [Commented] (YARN-7396) NPE when accessing container logs due to null dirsHandler
Date Fri, 27 Oct 2017 20:48:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222784#comment-16222784
] 

Jonathan Hung commented on YARN-7396:
-------------------------------------

Thanks [~sunilg]! Can we commit this?

> 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
>            Assignee: Jonathan Hung
>         Attachments: YARN-7396.001.patch
>
>
> {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