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 414a7b18b1
commit eeefc3d589
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,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);