From 3d722dce55fb0f68ed1528b4d16ce4a97c32c841 Mon Sep 17 00:00:00 2001 From: tedyu Date: Fri, 1 May 2015 13:39:15 -0700 Subject: [PATCH] HBASE-13608 413 Error with Stargate through Knox, using AD, SPNEGO, and Pre-Auth --- .../src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java | 1 + 1 file changed, 1 insertion(+) 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 bb52fdb914b..b58e82b1bfd 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,6 +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); server.addConnector(connector);