You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Nate Cole (JIRA)" <ji...@apache.org> on 2016/10/24 16:04:58 UTC
[jira] [Created] (AMBARI-18683) Argument for manually setting
CURRENT is unclear
Nate Cole created AMBARI-18683:
----------------------------------
Summary: Argument for manually setting CURRENT is unclear
Key: AMBARI-18683
URL: https://issues.apache.org/jira/browse/AMBARI-18683
Project: Ambari
Issue Type: Task
Components: ambari-server
Reporter: Nate Cole
Assignee: Nate Cole
Fix For: 2.5.0
It is currently possible to set the CURRENT {{repo_version}} for a component. The API is a little misleading. The call below should also check for the version string, not just the display name. Could also check for the id itself too.
{noformat}
PUT /api/v1/clusters/c1/stack_versions
{
"ClusterStackVersions": {
"force": true,
"state": "CURRENT",
"repository_version": "HDP-2.5.1.0" <------- must be display name
}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)