You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2017/12/01 01:05:06 UTC

[1/2] hbase git commit: HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.

Repository: hbase
Updated Branches:
  refs/heads/branch-1 a4b9ac605 -> 143ceb97b
  refs/heads/branch-1.4 f8e6a56e1 -> 21eb8ba6d


HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.

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


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

Branch: refs/heads/branch-1
Commit: 143ceb97ba2af808ffc00cf80f837ff918ede23b
Parents: a4b9ac6
Author: Sergey Soldatov <ss...@apache.org>
Authored: Thu Nov 30 15:46:38 2017 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Nov 30 17:03:32 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/143ceb97/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 70b5242..c630dc0 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
@@ -412,6 +412,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);
@@ -638,7 +639,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;
   }
 


[2/2] hbase git commit: HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.

Posted by ap...@apache.org.
HBASE-19393 HTTP 413 FULL head while accessing HBase UI using SSL.

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


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

Branch: refs/heads/branch-1.4
Commit: 21eb8ba6dd6c20c5e9d92ae0cec1e15243f2f4ab
Parents: f8e6a56
Author: Sergey Soldatov <ss...@apache.org>
Authored: Thu Nov 30 15:46:38 2017 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Nov 30 17:03:43 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/21eb8ba6/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 70b5242..c630dc0 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
@@ -412,6 +412,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);
@@ -638,7 +639,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;
   }