ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14998) Server 500 error on trying to extract a blueprint for all clusters
Date Thu, 11 Feb 2016 21:58:18 GMT

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

Hudson commented on AMBARI-14998:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4314 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4314/])
AMBARI-14998: Server 500 error on trying to extract a blueprint for all (nsomasundaram: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f247ddcfa6c7cc48508cbcfa1e681169dce3b495])
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java


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

Mime
View raw message