You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2015/09/21 21:02:50 UTC

[2/4] storm git commit: STORM-1054. Excessive logging ShellBasedGroupsMapping if the user doesn't have any groups.

STORM-1054. Excessive logging ShellBasedGroupsMapping if the user
doesn't have any groups.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/38a26281
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/38a26281
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/38a26281

Branch: refs/heads/master
Commit: 38a2628154b4ea7ff2a6f04c94b9be8835bf5b19
Parents: c567c52
Author: Sriharsha Chintalapani <ma...@harsha.io>
Authored: Mon Sep 21 11:53:29 2015 -0700
Committer: Sriharsha Chintalapani <ma...@harsha.io>
Committed: Mon Sep 21 11:53:29 2015 -0700

----------------------------------------------------------------------
 .../jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/38a26281/storm-core/src/jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java b/storm-core/src/jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java
index ed887ce..d83cf1c 100644
--- a/storm-core/src/jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java
+++ b/storm-core/src/jvm/backtype/storm/security/auth/ShellBasedGroupsMapping.java
@@ -78,7 +78,7 @@ public class ShellBasedGroupsMapping implements
             result = ShellUtils.execCommand(ShellUtils.getGroupsForUserCommand(user));
         } catch (ExitCodeException e) {
             // if we didn't get the group - just return empty list;
-            LOG.debug("unable to get groups for user " + user);
+            LOG.debug("unable to get groups for user " + user + ".ShellUtils command failed with exit code "+ e.getExitCode());
             return new HashSet<String>();
         }