public static UserGroupInformation getCurrentUserGroup() { if (g_CurrentUserGroup == null) { // throw new UnsupportedOperationException("Uncomment when using version 1.0.*"); String user = RemoteUtilities.getUser(); // user = "******"; g_CurrentUserGroup = UserGroupInformation.createRemoteUser(user); } return g_CurrentUserGroup; }