ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15167) Host API fails with multi-value filter
Date Thu, 25 Feb 2016 23:08:18 GMT

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

Jayush Luniya commented on AMBARI-15167:
----------------------------------------

Committed to trunk and branch-2.2. The latest Hadoop QA failure isnt due to this patch.

> 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