hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenji Kikushima (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-457) Setting updated nodes from null to null causes NPE in AllocateResponsePBImpl
Date Fri, 12 Apr 2013 08:23:16 GMT

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

Kenji Kikushima updated YARN-457:
---------------------------------

    Attachment: YARN-457-4.patch

Attached a patch for trunk. Thank you.
                
> Setting updated nodes from null to null causes NPE in AllocateResponsePBImpl
> ----------------------------------------------------------------------------
>
>                 Key: YARN-457
>                 URL: https://issues.apache.org/jira/browse/YARN-457
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: api
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sandy Ryza
>            Assignee: Kenji Kikushima
>            Priority: Minor
>              Labels: Newbie
>         Attachments: YARN-457-2.patch, YARN-457-3.patch, YARN-457-4.patch, YARN-457.patch
>
>
> {code}
>     if (updatedNodes == null) {
>       this.updatedNodes.clear();
>       return;
>     }
> {code}
> If updatedNodes is already null, a NullPointerException is thrown.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message