You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2015/01/22 22:03:35 UTC

[jira] [Commented] (YARN-3088) LinuxContainerExecutor.deleteAsUser can throw NPE if native executor returns an error

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

Jason Lowe commented on YARN-3088:
----------------------------------

This NPE is not seen in the nodemanager logs because it's silently eaten by the ScheduledThreadPoolExecutor in the DeletionService.  Filed YARN-3090 to track that issue.

> LinuxContainerExecutor.deleteAsUser can throw NPE if native executor returns an error
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-3088
>                 URL: https://issues.apache.org/jira/browse/YARN-3088
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.1.1-beta
>            Reporter: Jason Lowe
>            Assignee: Eric Payne
>
> If the native executor returns an error trying to delete a path as a particular user when dir==null then the code can NPE trying to build a log message for the error.  It blindly deferences dir in the log message despite the code just above explicitly handling the cases when dir could be null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)