HBASE-14492 Increase REST server header buffer size from 8k to 64k (Huaxiang Sun)

This commit is contained in:
Andrew Purtell 2015-09-25 14:02:59 -07:00
parent 36eeb7917a
commit 1c5551d9fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);