You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Di Li (JIRA)" <ji...@apache.org> on 2016/10/13 14:42:20 UTC
[jira] [Updated] (AMBARI-18588) Ambari server should not crash with
NPE when parsing HTTP response for YARN RM properties
[ https://issues.apache.org/jira/browse/AMBARI-18588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Di Li updated AMBARI-18588:
---------------------------
Status: Patch Available (was: Open)
> Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties
> -----------------------------------------------------------------------------------------
>
> Key: AMBARI-18588
> URL: https://issues.apache.org/jira/browse/AMBARI-18588
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Di Li
> Assignee: Di Li
> Fix For: trunk
>
> Attachments: AMBARI-18588.patch
>
>
> When YARN RM HTTP response is a 404, the response body is empty and this results in an empty responseMap, that later caused Ambari server to crash with NPE when it tries to read properties from the responseMap.
> This JIRA proposes to set property values as null when the responseMap is null (due to empty body passed back from the YARN web server side).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)