You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2014/05/30 17:05:01 UTC

[jira] [Created] (AMBARI-5962) Implement slider app flex action

Oleg Nechiporenko created AMBARI-5962:
-----------------------------------------

             Summary: Implement slider app flex action
                 Key: AMBARI-5962
                 URL: https://issues.apache.org/jira/browse/AMBARI-5962
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.6.1
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
            Priority: Critical
             Fix For: 1.6.1


A slider app should have the action to flex. When clicked, this action should launch a dialog whose content will be very similar to 'Allocate Resources' step of the 'Create Slider App' wizard - except that it will have only 2 columns - Component name, and number of instances text field. User can change the number of instances and hit Finish.

When Finish is hit the following API call is made
*Flex*
PUT {{/api/v1/views/SLIDER/versions/1.0.0/instances/SLIDER_1/apps/1399950379868_21}}
{code}
{
  "id" : "1399950379868_21",
  "name" : "hoya22",
  "components" : {
    "HBASE_MASTER" : {
      "instanceCount" : 1,
    },
    "HBASE_REGIONSERVER": {
      "instanceCount": 3
    }
  }
}
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)