hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5373) NPE listing wildcard directory in containerLaunch
Date Fri, 22 Jul 2016 16:48:21 GMT

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

Daniel Templeton updated YARN-5373:
-----------------------------------
    Attachment: YARN-5373.002.patch

> NPE listing wildcard directory in containerLaunch
> -------------------------------------------------
>
>                 Key: YARN-5373
>                 URL: https://issues.apache.org/jira/browse/YARN-5373
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.9.0
>            Reporter: Haibo Chen
>            Assignee: Daniel Templeton
>            Priority: Blocker
>         Attachments: YARN-5373.001.patch, YARN-5373.002.patch
>
>
> YARN-4958 added support for wildcards in file localization. It introduces a NPE 
> at 
> {code:java}
> for (File wildLink : directory.listFiles()) {
>     sb.symlink(new Path(wildLink.toString()), new Path(wildLink.getName()));
> }
> {code}
> When directory.listFiles returns null (only happens in a secure cluster), NPE will cause
the container fail to launch.
> Hive, Oozie jobs fail as a result.



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

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