THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Parameter | Description |
---|---|
profile | Value: zero, small, medium, large. Default: zero. The instance size in the cluster is defined in the myriad-config-default.yml file. |
instances | Value: one (1) to the number of nodes in the cluster. For example, if there are 100 nodes in your cluster, you are bound by 100. If you specify more than 100, the excess is place in a pending state. |
constraints | Value: ??. Hostnames are used to define cluster boundary and to start and stop Node Managers on a predefined set of nodes. |
Syntax
Code Block |
---|
<localhost>:8192/api/cluster/flexup <localhost>:8192/api/cluster/flexdown |
...
Code Block |
---|
{ "instances":2, "profile": zero, "constraints": [hdfs LIKE true] } |
...
Response Example
Code Block |
---|
202 ACCEPTED |