svn merge -c 1580977 from trunk for HADOOP-10015. UserGroupInformation prints out excessive warnings.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1580978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2d8ab6085
commit
77b05150a7
|
@ -77,6 +77,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
based on connection properties. (Benoy Antony and Daryn Sharp via
|
based on connection properties. (Benoy Antony and Daryn Sharp via
|
||||||
Arpit Agarwal)
|
Arpit Agarwal)
|
||||||
|
|
||||||
|
HADOOP-10015. UserGroupInformation prints out excessive warnings.
|
||||||
|
(Nicolas Liochon via szetszwo)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -1548,7 +1548,9 @@ public class UserGroupInformation {
|
||||||
return Subject.doAs(subject, action);
|
return Subject.doAs(subject, action);
|
||||||
} catch (PrivilegedActionException pae) {
|
} catch (PrivilegedActionException pae) {
|
||||||
Throwable cause = pae.getCause();
|
Throwable cause = pae.getCause();
|
||||||
LOG.warn("PriviledgedActionException as:"+this+" cause:"+cause);
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("PrivilegedActionException as:" + this + " cause:" + cause);
|
||||||
|
}
|
||||||
if (cause instanceof IOException) {
|
if (cause instanceof IOException) {
|
||||||
throw (IOException) cause;
|
throw (IOException) cause;
|
||||||
} else if (cause instanceof Error) {
|
} else if (cause instanceof Error) {
|
||||||
|
|
Loading…
Reference in New Issue