You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/02/25 10:36:18 UTC
[jira] [Commented] (AMBARI-15167) Host API fails with multi-value
filter
[ https://issues.apache.org/jira/browse/AMBARI-15167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166988#comment-15166988 ]
Hadoop QA commented on AMBARI-15167:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12789885/rb43953.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in ambari-server.
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5562//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5562//console
This message is automatically generated.
> 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)