YARN-2213. Change proxy-user cookie log in AmIpFilter to DEBUG.
Contributed by Varun Saxena
This commit is contained in:
parent
c770df49b4
commit
e556198e71
|
@ -837,6 +837,9 @@ Release 2.7.0 - UNRELEASED
|
|||
YARN-3393. Getting application(s) goes wrong when app finishes before
|
||||
starting the attempt. (Zhijie Shen via xgong)
|
||||
|
||||
YARN-2213. Change proxy-user cookie log in AmIpFilter to DEBUG.
|
||||
(Varun Saxena via xgong)
|
||||
|
||||
Release 2.6.0 - 2014-11-18
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -152,8 +152,10 @@ public class AmIpFilter implements Filter {
|
|||
}
|
||||
}
|
||||
if (user == null) {
|
||||
LOG.warn("Could not find " + WebAppProxyServlet.PROXY_USER_COOKIE_NAME
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Could not find " + WebAppProxyServlet.PROXY_USER_COOKIE_NAME
|
||||
+ " cookie, so user will not be set");
|
||||
}
|
||||
chain.doFilter(req, resp);
|
||||
} else {
|
||||
final AmIpPrincipal principal = new AmIpPrincipal(user);
|
||||
|
|
Loading…
Reference in New Issue