hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Payne (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-3088) LinuxContainerExecutor.deleteAsUser can throw NPE if native executor returns an error
Date Thu, 22 Jan 2015 20:41:35 GMT

     [ https://issues.apache.org/jira/browse/YARN-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Payne reassigned YARN-3088:
--------------------------------

    Assignee: Eric Payne

> 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)

Mime
View raw message