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 "Haibo Chen (JIRA)" <ji...@apache.org> on 2016/07/13 19:45:20 UTC
[jira] [Updated] (YARN-5373) NPE introduced by YARN-4958 (The file
localization process should allow...)
[ https://issues.apache.org/jira/browse/YARN-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haibo Chen updated YARN-5373:
-----------------------------
Description:
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, NPE will cause the container fail to launch.
was:
YARN-4958 added support for wildcards in file localization. It introduces a NPE
at
{{code}}
for (File wildLink : directory.listFiles()) {
sb.symlink(new Path(wildLink.toString()),
new Path(wildLink.getName()));
}
{{code}}
When directory.listFiles returns null, NPE will cause the container fail to launch.
> NPE introduced by YARN-4958 (The file localization process should allow...)
> ---------------------------------------------------------------------------
>
> 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: Haibo Chen
>
> 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, NPE will cause the container fail to launch.
--
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