[jira] [Updated] (YARN-457) Setting updated nodes from null to null causes NPE in AMResponsePBImpl
[ 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.patch Setting updated nodes from null to null causes NPE in AMResponsePBImpl -- Key: YARN-457 URL: https://issues.apache.org/jira/browse/YARN-457 Project: Hadoop YARN Issue Type: Bug Components: api Affects Versions: 2.0.3-alpha Reporter: Sandy Ryza Priority: Minor Labels: Newbie Attachments: 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
[jira] [Updated] (YARN-457) Setting updated nodes from null to null causes NPE in AMResponsePBImpl
[ https://issues.apache.org/jira/browse/YARN-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Ryza updated YARN-457: Description: {code} if (updatedNodes == null) { this.updatedNodes.clear(); return; } {code} If updatedNodes is already null, a NullPointerException is thrown. was: It looks like this is supposed to be a !=: {code} if (updatedNodes == null) { this.updatedNodes.clear(); return; } {code} Setting updated nodes from null to null causes NPE in AMResponsePBImpl -- Key: YARN-457 URL: https://issues.apache.org/jira/browse/YARN-457 Project: Hadoop YARN Issue Type: Bug Components: api Affects Versions: 2.0.3-alpha Reporter: Sandy Ryza {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
[jira] [Updated] (YARN-457) Setting updated nodes from null to null causes NPE in AMResponsePBImpl
[ https://issues.apache.org/jira/browse/YARN-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandy Ryza updated YARN-457: Summary: Setting updated nodes from null to null causes NPE in AMResponsePBImpl (was: Setting updated nodes in AMResponsePBImpl) Setting updated nodes from null to null causes NPE in AMResponsePBImpl -- Key: YARN-457 URL: https://issues.apache.org/jira/browse/YARN-457 Project: Hadoop YARN Issue Type: Bug Components: api Affects Versions: 2.0.3-alpha Reporter: Sandy Ryza It looks like this is supposed to be a !=: {code} if (updatedNodes == null) { this.updatedNodes.clear(); return; } {code} -- 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