From 1c5551d9fc9470600b1b5b255f9aa6eda7ee4ddc Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Fri, 25 Sep 2015 14:02:59 -0700 Subject: [PATCH] HBASE-14492 Increase REST server header buffer size from 8k to 64k (Huaxiang Sun) --- .../src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java index b58e82b1bfd..e9370647d1a 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java @@ -203,7 +203,7 @@ public class RESTServer implements Constants { } connector.setPort(servlet.getConfiguration().getInt("hbase.rest.port", 8080)); connector.setHost(servlet.getConfiguration().get("hbase.rest.host", "0.0.0.0")); - connector.setHeaderBufferSize(8192); + connector.setHeaderBufferSize(65536); server.addConnector(connector);