HADOOP-10015. UserGroupInformation prints out excessive warnings. Contributed by Nicolas Liochon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1580977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f1eda6bbf
commit
f89ede8d86
|
@ -380,6 +380,9 @@ Release 2.4.0 - UNRELEASED
|
|||
based on connection properties. (Benoy Antony and Daryn Sharp via
|
||||
Arpit Agarwal)
|
||||
|
||||
HADOOP-10015. UserGroupInformation prints out excessive warnings.
|
||||
(Nicolas Liochon via szetszwo)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -1597,7 +1597,9 @@ public class UserGroupInformation {
|
|||
return Subject.doAs(subject, action);
|
||||
} catch (PrivilegedActionException pae) {
|
||||
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) {
|
||||
throw (IOException) cause;
|
||||
} else if (cause instanceof Error) {
|
||||
|
|
Loading…
Reference in New Issue