[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AMBARI-18588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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=commit=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)


[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-17 Thread Di Li (JIRA)

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

Di Li commented on AMBARI-18588:


pushed to branch-2.5 as 
https://git-wip-us.apache.org/repos/asf?p=ambari.git;a=commit;h=fb6a71318efd1fbeb936f02c42462e9bce9bf716

> 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)


[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-17 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-18588:
-

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5812 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/5812/])
AMBARI-18588 Ambari server should not crash with NPE when parsing HTTP (dili: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=73f1dea9674359ecbfd723917c83913b20986906])
* (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)


[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-17 Thread Di Li (JIRA)

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

Di Li commented on AMBARI-18588:


pushed to trunk as 
https://git-wip-us.apache.org/repos/asf?p=ambari.git;a=commit;h=73f1dea9674359ecbfd723917c83913b20986906

> 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)


[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-13 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-18588:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12833194/AMBARI-18588_v2.patch
  against trunk revision .

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

{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 
patch.
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:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8873//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8873//console

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, 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)


[jira] [Commented] (AMBARI-18588) Ambari server should not crash with NPE when parsing HTTP response for YARN RM properties

2016-10-13 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-18588:


{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12833135/AMBARI-18588.patch
  against trunk revision .

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

{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 
patch.
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 
ambari-server:

  
org.apache.ambari.server.controller.metrics.JMXPropertyProviderTest
  org.apache.ambari.server.state.cluster.ClusterDeadlockTest

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8867//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/8867//console

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
(v6.3.4#6332)