[ 
https://issues.apache.org/jira/browse/AMBARI-18588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583484#comment-15583484
 ] 

Hudson commented on AMBARI-18588:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #159 (See 
[https://builds.apache.org/job/Ambari-branch-2.5/159/])
AMBARI-18588 Ambari server should not crash with NPE when parsing HTTP (dili: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fb6a71318efd1fbeb936f02c42462e9bce9bf716])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/JsonHttpPropertyRequest.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java


> 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, AMBARI-18588_v2.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)

Reply via email to