-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-26767 Rest server should not use a large Header Cache. #4123
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a pain. Good on you for getting to the bottom of this.
I know that we increased the header cache because of the increased keysizes that started to become "default" with the stronger encryption/checksum algorithms from Kerberos. I can't imagine that we come up with any way to validate this in a unit test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java
Outdated
Show resolved
Hide resolved
…er.java Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org>
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
I'm in the process of merging this now. One flaky test in hbase-thrift on branch-2 I'm checking out instead of blindly merging. |
Closes #4123 Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Josh Elser <elserj@apache.org>
Closes #4123 Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Josh Elser <elserj@apache.org>
Closes #4123 Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Josh Elser <elserj@apache.org>
Closes apache#4123 Co-authored-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Tak Lon (Stephen) Wu <taklwu@apache.org> Signed-off-by: Josh Elser <elserj@apache.org> (cherry picked from commit 6b10e24) Change-Id: I14984a6da80eddb4872c0db4823a8d202b97b787
Added a new HBase rest wrapper for "jetty.httpConfig.headerCacheSize" configuration property. Set the default value to the maximum allowed in the jetty 9.4.x branch