HDFS-15136. LOG flooding in secure mode when Cookies are not set in request header. Contributed by Renukaprasad C
This commit is contained in:
parent
fafe78fea7
commit
23787e4bdd
|
@ -99,7 +99,10 @@ public class AuthenticatedURL {
|
|||
cookies = HttpCookie.parse(header);
|
||||
} catch (IllegalArgumentException iae) {
|
||||
// don't care. just skip malformed cookie headers.
|
||||
LOG.debug("Cannot parse cookie header: " + header, iae);
|
||||
// When header is empty - "Cannot parse cookie header, header = ,
|
||||
// reason = Empty cookie header string"
|
||||
LOG.debug("Cannot parse cookie header, header = {}, reason = {} ",
|
||||
header, iae.getMessage());
|
||||
continue;
|
||||
}
|
||||
for (HttpCookie cookie : cookies) {
|
||||
|
|
Loading…
Reference in New Issue