Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.9.0, 3.0.0, 3.2.0, 3.1.2
-
None
-
None
Description
For example:
$ yarn schedulerconf -update "root.gridops:acl_administer_queue=user1,user2 group1,group2"
Specify configuration key value as confKey=confVal.
This fails because there is a comma in the config value and the SchedConfCLI splits on comma first, expecting each split to a k=v pair.
void globalUpdates(String args, SchedConfUpdateInfo updateInfo) { if (args == null) { return; } HashMap<String, String> globalUpdates = new HashMap<>(); for (String globalUpdate : args.split(",")) { putKeyValuePair(globalUpdates, globalUpdate); } updateInfo.setGlobalParams(globalUpdates); }
Cc: jhung