Hadoop QA commented on AMBARI-18588:

{color:red}-1 overall{color}.  Here are the results of testing the latest 
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 


Test results: 
Console output: 

This message is automatically generated.

> 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

Reply via email to