Github user prasadns14 commented on a diff in the pull request:
https://github.com/apache/drill/pull/998#discussion_r145584181
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRoot.java
---
@@ -85,21 +86,33 @@ public ClusterInfo getClusterInfoJSON() {
// For all other cases the user info need-not or should-not be
displayed
OptionManager optionManager = work.getContext().getOptionManager();
final boolean isUserLoggedIn = AuthDynamicFeature.isUserLoggedIn(sc);
+ final String processUser = isUserLoggedIn ?
+ ImpersonationUtil.getProcessUserName() : null;
+ final String processUserGroups = isUserLoggedIn ?
+
Joiner.on(",").join(ImpersonationUtil.getProcessUserGroupNames()) : null;
--- End diff --
This list is obtained from hadoop.security.UserGroupInformation and is not
the user option. hence we need not worry about the space
---