HADOOP-9135. JniBasedUnixGroupsMappingWithFallback should log at debug rather than info during fallback. Contributed by Colin Patrick McCabe.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1421012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2012-12-12 22:06:48 +00:00
parent 30eaf879e3
commit 7f341b7b39
2 changed files with 4 additions and 1 deletions

View File

@ -184,6 +184,9 @@ Release 2.0.3-alpha - Unreleased
HADOOP-9113. o.a.h.fs.TestDelegationTokenRenewer is failing intermittently. HADOOP-9113. o.a.h.fs.TestDelegationTokenRenewer is failing intermittently.
(Karthik Kambatla via eli) (Karthik Kambatla via eli)
HADOOP-9135. JniBasedUnixGroupsMappingWithFallback should log at debug
rather than info during fallback. (Colin Patrick McCabe via todd)
Release 2.0.2-alpha - 2012-09-07 Release 2.0.2-alpha - 2012-09-07
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -37,7 +37,7 @@ public class JniBasedUnixGroupsMappingWithFallback implements
if (NativeCodeLoader.isNativeCodeLoaded()) { if (NativeCodeLoader.isNativeCodeLoaded()) {
this.impl = new JniBasedUnixGroupsMapping(); this.impl = new JniBasedUnixGroupsMapping();
} else { } else {
LOG.info("Falling back to shell based"); LOG.debug("Falling back to shell based");
this.impl = new ShellBasedUnixGroupsMapping(); this.impl = new ShellBasedUnixGroupsMapping();
} }
if (LOG.isDebugEnabled()){ if (LOG.isDebugEnabled()){