HBASE-6925 Change socket write size from 8K to 64K for HBaseServer (Karthik)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1404777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2012-11-01 21:41:15 +00:00
parent ddb9e96654
commit d051501c07
1 changed files with 1 additions and 1 deletions

View File

@ -2145,7 +2145,7 @@ public abstract class HBaseServer implements RpcServer {
* done in chunks of this size. Most RPC requests and responses would be * done in chunks of this size. Most RPC requests and responses would be
* be smaller. * be smaller.
*/ */
private static int NIO_BUFFER_LIMIT = 8*1024; //should not be more than 64KB. private static int NIO_BUFFER_LIMIT = 64 * 1024; //should not be more than 64KB.
/** /**
* This is a wrapper around {@link java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)}. * This is a wrapper around {@link java.nio.channels.WritableByteChannel#write(java.nio.ByteBuffer)}.