hanishakoneru commented on a change in pull request #2886:
URL: https://github.com/apache/ozone/pull/2886#discussion_r767018279
##########
File path:
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/cli/OzoneAdmin.java
##########
@@ -60,6 +65,16 @@ public OzoneConfiguration getOzoneConf() {
return ozoneConf;
}
+ public UserGroupInformation getUser() throws IOException {
+ if (user == null) {
+ user = Server.getRemoteUser();
Review comment:
Updated to get current user.
--
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]