Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
Description
hosts filtering by multiple state results in server error but filtering by single state works fine.
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.
Attachments
Attachments
Issue Links
- links to