[
https://issues.apache.org/jira/browse/AMBARI-14998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143212#comment-15143212
]
Hadoop QA commented on AMBARI-14998:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12787392/rb43443.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/5317//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/5317//console
This message is automatically generated.
> Server 500 error on trying to extract a blueprint for all clusters
> ------------------------------------------------------------------
>
> Key: AMBARI-14998
> URL: https://issues.apache.org/jira/browse/AMBARI-14998
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Nahappan Somasundaram
> Assignee: Nahappan Somasundaram
> Fix For: 2.4.0
>
> Attachments: rb43443.patch
>
>
> Attempting to extract a blueprint for all clusters fails with 500 server
> error, if there are one or more clusters.
> curl -u admin:admin -H "X-Requested-By: ambari" -X GET
> http://c6404.ambari.apache.org:8080/api/v1/clusters/?format=blueprint
> {
> "status": 500,
> "message": "Server Error"
> }
> *Call stack*
> java.lang.NullPointerException
> at
> org.apache.ambari.server.controller.internal.ExportBlueprintRequest.createConfiguration(ExportBlueprintRequest.java:185)
> at
> org.apache.ambari.server.controller.internal.ExportBlueprintRequest.<init>(ExportBlueprintRequest.java:78)
> at
> org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.createClusterTopology(ClusterBlueprintRenderer.java:340)
> at
> org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.createBlueprintResource(ClusterBlueprintRenderer.java:176)
> at
> org.apache.ambari.server.api.query.render.ClusterBlueprintRenderer.finalizeResult(ClusterBlueprintRenderer.java:141)
> at
> org.apache.ambari.server.api.query.QueryImpl.getResult(QueryImpl.java:822)
> at
> org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:218)
> at
> org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:69)
> at
> org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:136)
> at
> org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:106)
> at
> org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:75)
> at
> org.apache.ambari.server.api.services.ClusterService.getClusters(ClusterService.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)