adoroszlai opened a new pull request #987: URL: https://github.com/apache/hadoop-ozone/pull/987
## What changes were proposed in this pull request? Remove most usage of `DFSUtil`: 1. Copy `addPBProtocol` method to `HddsServerUtil` and use it. 2. Replace `bytes2String` and `string2Bytes` with existing methods from Ozone's `StringUtils` 3. Replace `shuffle` with similar method from Apache Commons Lang The only remaining usage of `DFSUtil` is `parseHelpArgument` in `OzoneGetConf`, which will be removed when eventually [converted to use picocli](https://issues.apache.org/jira/browse/HDDS-3102). https://issues.apache.org/jira/browse/HDDS-3678 ## How was this patch tested? https://github.com/adoroszlai/hadoop-ozone/runs/717512088 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
