hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/3] hbase git commit: HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.
Date Fri, 01 Dec 2017 01:07:37 GMT
HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.

Signed-off-by: Andrew Purtell <apurtell@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/891db9a8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/891db9a8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/891db9a8

Branch: refs/heads/branch-1.2
Commit: 891db9a8ae289ab7d2b2769d8c53a2960c31b4cc
Parents: d0c99f1
Author: Sergey Soldatov <ssa@apache.org>
Authored: Thu Nov 30 15:46:38 2017 -0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu Nov 30 17:07:24 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/891db9a8/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 667e597..0be4072 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);
@@ -604,7 +605,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;
   }
 


Mime
View raw message