HBASE-14492 Increase REST server header buffer size from 8k to 64k (Huaxiang Sun)
This commit is contained in:
parent
36eeb7917a
commit
1c5551d9fc
|
@ -203,7 +203,7 @@ public class RESTServer implements Constants {
|
||||||
}
|
}
|
||||||
connector.setPort(servlet.getConfiguration().getInt("hbase.rest.port", 8080));
|
connector.setPort(servlet.getConfiguration().getInt("hbase.rest.port", 8080));
|
||||||
connector.setHost(servlet.getConfiguration().get("hbase.rest.host", "0.0.0.0"));
|
connector.setHost(servlet.getConfiguration().get("hbase.rest.host", "0.0.0.0"));
|
||||||
connector.setHeaderBufferSize(8192);
|
connector.setHeaderBufferSize(65536);
|
||||||
|
|
||||||
server.addConnector(connector);
|
server.addConnector(connector);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue