whbing opened a new pull request, #4133: URL: https://github.com/apache/ozone/pull/4133
## What changes were proposed in this pull request? Make OM ozone.administrators reconfigurable. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-3591 ## How was this patch tested? - Unit test pass - Functional test pass ```bash [hadoop@client ~]$ ./ozone-client/bin/ozone admin om reconfig Missing required options: '--host-port=<address>', '-op=<op>' Usage: ozone admin om reconfig -address=<ip:port> -op=start|status|properties Dynamic reconfiguring without stopping the OM. Three operations are provided: start: Execute the reconfig operation asynchronously status: Check reconfiguration status properties: List reconfigurable properties ``` modify `ozone.administrators` in `ozone-site.xml` and execute: ```bash [hadoop@client ~]$ ozone admin om reconfig -address=hadoop1:9862 -op=start Started OM reconfiguration task on node [hadoop1:9862]. [hadoop@client ~]$ ./ozone-client/bin/ozone admin om reconfig -address=hadoop1:9862 -op=status Reconfiguring status for node [hadoop1:9862]: started at Wed Dec 28 19:04:44 CST 2022 and finished at Wed Dec 28 19:04:44 CST 2022. SUCCESS: Changed OM property ozone.administrators From: "hadoop,bigdata" To: "hadoop,bigdata,aaa" [hadoop@client ~]$ ./ozone-client/bin/ozone admin om reconfig -address=hadoop1:9862 -op=properties OM Node [hadoop1:9862] Reconfigurable properties: ozone.administrators ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
