Repository: hbase Updated Branches: refs/heads/branch-1.1 540bf082a -> 926021447 refs/heads/branch-1.2 d0c99f1dd -> 891db9a8a refs/heads/branch-1.3 7fde0fdcc -> 2685d0691
HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL. Signed-off-by: Andrew Purtell <apurt...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/92602144 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/92602144 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/92602144 Branch: refs/heads/branch-1.1 Commit: 926021447f033c6211c8201ca8309dcc2c2f3c54 Parents: 540bf08 Author: Sergey Soldatov <s...@apache.org> Authored: Thu Nov 30 15:46:38 2017 -0800 Committer: Andrew Purtell <apurt...@apache.org> Committed: Thu Nov 30 17:07:18 2017 -0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/http/HttpServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/92602144/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java index 1ffd515..393434b 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/http/HttpServer.java @@ -378,6 +378,7 @@ public class HttpServer implements FilterContainer { throw new HadoopIllegalArgumentException( "unknown scheme for endpoint:" + ep); } + listener.setHeaderBufferSize(1024*64); listener.setHost(ep.getHost()); listener.setPort(ep.getPort() == -1 ? 0 : ep.getPort()); server.addManagedListener(listener); @@ -600,7 +601,6 @@ public class HttpServer implements FilterContainer { // the same port with indeterminate routing of incoming requests to them ret.setReuseAddress(false); } - ret.setHeaderBufferSize(1024*64); return ret; }