+ " " + "ioShares = " + ioShares);
return;
}
}
ElasticityRequestBody requestBody = new ElasticityRequestBody();
requestBody.setEnableAuto(enableAuto);
//print warning for ignored parameters under different mode
if (mode != null) {
if (mode == ElasticityMode.AUTO) {
requestBody.setMinComputeNodeNum(minComputeNodeNum);
requestBody.setMaxComputeNodeNum(maxComputeNodeNum);
} else {
requestBody.setActiveComputeNodeNum(targetComputeNodeNum);
}
} else {
requestBody.setMinComputeNodeNum(minComputeNodeNum);
requestBody.setMaxComputeNodeNum(maxComputeNodeNum);
requestBody.setActiveComputeNodeNum(targetComputeNodeNum);
}
requestBody.setIoPriority(ioPriority);
restClient.setParam(cluster, requestBody);
CommandsUtils.printCmdSuccess(Constants.OUTPUT_OBJECT_CLUSTER,
clusterName, Constants.OUTPUT_OP_RESULT_ADJUST);
//print warning for ignored parameters under different mode