hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5373) NPE introduced by YARN-4958 (The file localization process should allow...)
Date Wed, 13 Jul 2016 19:44:20 GMT
Haibo Chen created YARN-5373:
--------------------------------

             Summary: 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}}
      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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message