openinx commented on a change in pull request #318: HBASE-22598 Deprecated the 
hbase.ipc.server.reservoir.initial.buffer.…
URL: https://github.com/apache/hbase/pull/318#discussion_r294232443
 
 

 ##########
 File path: 
hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java
 ##########
 @@ -68,9 +68,25 @@
   // default heap allocator, it will just allocate ByteBuffers from heap but 
wrapped by an ByteBuff.
   public static final ByteBuffAllocator HEAP = 
ByteBuffAllocator.createOnHeap();
 
-  public static final String MAX_BUFFER_COUNT_KEY = 
"hbase.ipc.server.allocator.max.buffer.count";
+  public static final String MAX_BUFFER_COUNT_KEY = 
"hbase.server.allocator.max.buffer.count";
 
-  public static final String BUFFER_SIZE_KEY = 
"hbase.ipc.server.allocator.buffer.size";
+  public static final String BUFFER_SIZE_KEY = 
"hbase.server.allocator.buffer.size";
+
+  @Deprecated
+  static final String DEPRECATED_MAX_BUFFER_COUNT_KEY = 
"hbase.ipc.server.reservoir.initial.max";
 
 Review comment:
   We removed all of them in https://issues.apache.org/jira/browse/HBASE-21916 
before.   Did a finding search about the hbase.ipc.server.reservoir.initial.max 
& hbase.ipc.server.reservoir.initial.buffer.size,  no other places are refering 
the deprecated configs now except the document. 
   So here it should be OK.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to