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-7644) After view deploy, GET call returning 400, not possible to create view instances w/o restart
Date Fri, 31 Oct 2014 22:43:34 GMT

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

Hudson commented on AMBARI-7644:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0-docker #48 (See [https://builds.apache.org/job/Ambari-branch-1.7.0-docker/48/])
AMBARI-7644 - After view deploy, GET call returning 400, not possible to create view instances
w/o restart - backport to 1.7.0 (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=605ee38b88f11f2332d431f0c144f99fee04f117)
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
* ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ViewInstanceResourceDefinition.java


> After view deploy, GET call returning 400, not possible to create view instances w/o
restart
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7644
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7644
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7644.patch
>
>
> 1. Start ambari and have views deploy (in my case, this is first-time install so it's
Jobs and Slider).
> 2. Jobs finishes deploying and slider is still deploying
> 3. I go to create a jobs view instance and the following call fails 400 Bad Request
> http://c6401.ambari.apache.org:8080/api/v1/views/JOBS/versions/1.0.0/instances/asd?fields=privileges%2FPrivilegeInfo,ViewInstanceInfo,resources
> {code}
> {
>   "status" : 400,
>   "message" : "The properties [resources] specified in the request or predicate are not
supported for the resource type ViewInstance."
> }
> {code}
> Regardless if I wait for slider view to deploy or not, until I restart ambari server,
this GET call does not succeed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message