Allow updating coord concurrency update through bundle change
-------------------------------------------------------------
Key: OOZIE-806
URL: https://issues.apache.org/jira/browse/OOZIE-806
Project: Oozie
Issue Type: Improvement
Reporter: Shwetha G S
Bundle change should allow updating concurrency of all contained
coordinators(just like end time update)
Also, there is a bug in BundleJobChangeXCommand which allows changing
concurrency if concurrency and endTime are passed in changeValue!
static {
ALLOWED_CHANGE_OPTIONS.add("pausetime");
ALLOWED_CHANGE_OPTIONS.add("endtime");
}
Map<String, String> map = JobUtils.parseChangeValue(changeValue);
if (map.size() > ALLOWED_CHANGE_OPTIONS.size() ||
!(map.containsKey(OozieClient.CHANGE_VALUE_PAUSETIME) ||
map.containsKey(OozieClient.CHANGE_VALUE_ENDTIME))) {
throw new CommandException(ErrorCode.E1317, changeValue, "can only
change pausetime or end time");
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira