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-15167) Host API fails with multi-value filter
Date Fri, 26 Feb 2016 03:27:18 GMT

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

Hudson commented on AMBARI-15167:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.2 #420 (See [https://builds.apache.org/job/Ambari-branch-2.2/420/])
AMBARI-15167: Host API fails with multi-value filter (Ajit Kumar via (jluniya: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=82a914f5580c2bf4cd5a36714237041fa240fbb8])
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java


> Host API fails with multi-value filter
> --------------------------------------
>
>                 Key: AMBARI-15167
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15167
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.1
>            Reporter: Ajit Kumar
>            Assignee: Ajit Kumar
>             Fix For: 2.2.2
>
>         Attachments: rb43953.patch
>
>
> hosts filtering by multiple state results in server error but filtering by single state
works fine.
> {code}
> GET api/v1/clusters/clustername/hosts -d '{"RequestInfo":{"query":"stack_versions/HostStackVersions/state.in(INSTALLING,INSTALL_FAILED,OUT_OF_SYNC)"}}'
> {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: Stack version
should have numerical id"
> }
> GET api/v1/clusters/clustername/hosts -d '
> {"RequestInfo":{"query":"stack_versions/HostStackVersions/state.in(INSTALLING)"}}'
> Request successful.
> {code}



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

Mime
View raw message