hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-2025) Possible NPE in schedulers
Date Tue, 06 May 2014 16:57:14 GMT
Tsuyoshi OZAWA created YARN-2025:
------------------------------------

             Summary: Possible NPE in schedulers
                 Key: YARN-2025
                 URL: https://issues.apache.org/jira/browse/YARN-2025
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Tsuyoshi OZAWA
            Assignee: Tsuyoshi OZAWA


In FifoScheduler/FairScheduler/CapacityScheduler#addApplicationAttempt(), we don't check whether
{{application}} is null. This can cause NPE in following sequences: addApplication() ->
doneApplication() (e.g. AppKilledTransition) -> addApplicationAttempt().
{code}
    SchedulerApplication application =
        applications.get(applicationAttemptId.getApplicationId());
    String user = application.getUser();
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message