[
https://issues.apache.org/jira/browse/AMBARI-7644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159306#comment-14159306
]
Hudson commented on AMBARI-7644:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #479 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/479/])
AMBARI-7644 - After view deploy, GET call returning 400, not possible to create
view instances w/o restart (tbeerbower:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0e959b0ed80fc1a170cc10b1c75050c88a7b2d06)
*
ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.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)