You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2015/10/18 13:24:12 UTC
[1/2] hadoop git commit: HADOOP-12450. UserGroupInformation should
not log at WARN level if no groups are found. (Elliott Clark via stevel)
Repository: hadoop
Updated Branches:
refs/heads/branch-2 390f29ab9 -> b390aae46
refs/heads/trunk e2d59e2c7 -> e286512a7
HADOOP-12450. UserGroupInformation should not log at WARN level if no groups are found. (Elliott Clark via stevel)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b390aae4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b390aae4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b390aae4
Branch: refs/heads/branch-2
Commit: b390aae467fe0fc9cfc660b6808d4b71be9774ac
Parents: 390f29a
Author: Steve Loughran <st...@apache.org>
Authored: Sun Oct 18 12:23:34 2015 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Sun Oct 18 12:23:34 2015 +0100
----------------------------------------------------------------------
hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
.../java/org/apache/hadoop/security/UserGroupInformation.java | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/b390aae4/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 975db86..9cf5c0b 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -344,6 +344,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11984. Enable parallel JUnit tests in pre-commit.
(Chris Nauroth via vinayakumarb)
+ HADOOP-12450. UserGroupInformation should not log at WARN level if no groups
+ are found. (Elliott Clark via stevel)
+
BUG FIXES
HADOOP-12374. Updated expunge command description.
http://git-wip-us.apache.org/repos/asf/hadoop/blob/b390aae4/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
index ab999c0..0c82173 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
@@ -1516,7 +1516,9 @@ public class UserGroupInformation {
(groups.getGroups(getShortUserName()));
return result.toArray(new String[result.size()]);
} catch (IOException ie) {
- LOG.warn("No groups available for user " + getShortUserName());
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("No groups available for user " + getShortUserName());
+ }
return new String[0];
}
}
[2/2] hadoop git commit: HADOOP-12450. UserGroupInformation should
not log at WARN level if no groups are found. (Elliott Clark via stevel)
Posted by st...@apache.org.
HADOOP-12450. UserGroupInformation should not log at WARN level if no groups are found. (Elliott Clark via stevel)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e286512a
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e286512a
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e286512a
Branch: refs/heads/trunk
Commit: e286512a7143427f2975ec92cdc4fad0a093a456
Parents: e2d59e2
Author: Steve Loughran <st...@apache.org>
Authored: Sun Oct 18 12:23:34 2015 +0100
Committer: Steve Loughran <st...@apache.org>
Committed: Sun Oct 18 12:23:43 2015 +0100
----------------------------------------------------------------------
hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
.../java/org/apache/hadoop/security/UserGroupInformation.java | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/e286512a/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index af10154..31a8065 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -932,6 +932,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-11984. Enable parallel JUnit tests in pre-commit.
(Chris Nauroth via vinayakumarb)
+ HADOOP-12450. UserGroupInformation should not log at WARN level if no groups
+ are found. (Elliott Clark via stevel)
+
BUG FIXES
HADOOP-12374. Updated expunge command description.
http://git-wip-us.apache.org/repos/asf/hadoop/blob/e286512a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
index b511494..483420c 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java
@@ -1528,7 +1528,9 @@ public class UserGroupInformation {
(groups.getGroups(getShortUserName()));
return result.toArray(new String[result.size()]);
} catch (IOException ie) {
- LOG.warn("No groups available for user " + getShortUserName());
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("No groups available for user " + getShortUserName());
+ }
return new String[0];
}
}