HADOOP-11868. Invalid user logins trigger large backtraces in server log. Contributed by Chang Li
This commit is contained in:
parent
e54a3e1f4f
commit
0ebe84d30a
@ -560,7 +560,11 @@ public Principal getUserPrincipal() {
|
|||||||
// exception from the filter itself is fatal
|
// exception from the filter itself is fatal
|
||||||
errCode = HttpServletResponse.SC_FORBIDDEN;
|
errCode = HttpServletResponse.SC_FORBIDDEN;
|
||||||
authenticationEx = ex;
|
authenticationEx = ex;
|
||||||
LOG.warn("Authentication exception: " + ex.getMessage(), ex);
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Authentication exception: " + ex.getMessage(), ex);
|
||||||
|
} else {
|
||||||
|
LOG.warn("Authentication exception: " + ex.getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (unauthorizedResponse) {
|
if (unauthorizedResponse) {
|
||||||
if (!httpResponse.isCommitted()) {
|
if (!httpResponse.isCommitted()) {
|
||||||
|
@ -554,6 +554,9 @@ Release 2.7.1 - UNRELEASED
|
|||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
|
HADOOP-11868. Invalid user logins trigger large backtraces in server log
|
||||||
|
(Chang Li via jlowe)
|
||||||
|
|
||||||
Release 2.7.0 - 2015-04-20
|
Release 2.7.0 - 2015-04-20
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user