ndimiduk commented on a change in pull request #3063:
URL: https://github.com/apache/hbase/pull/3063#discussion_r632130395



##########
File path: hbase-shell/src/main/ruby/hbase/admin.rb
##########
@@ -1492,7 +1492,12 @@ def update_tdb_from_arg(tdb, arg)
       
tdb.setMergeEnabled(JBoolean.valueOf(arg.delete(TableDescriptorBuilder::MERGE_ENABLED)))
 if arg.include?(TableDescriptorBuilder::MERGE_ENABLED)
       
tdb.setNormalizationEnabled(JBoolean.valueOf(arg.delete(TableDescriptorBuilder::NORMALIZATION_ENABLED)))
 if arg.include?(TableDescriptorBuilder::NORMALIZATION_ENABLED)
       
tdb.setNormalizerTargetRegionCount(JInteger.valueOf(arg.delete(TableDescriptorBuilder::NORMALIZER_TARGET_REGION_COUNT)))
 if arg.include?(TableDescriptorBuilder::NORMALIZER_TARGET_REGION_COUNT)
-      
tdb.setNormalizerTargetRegionSize(JLong.valueOf(arg.delete(TableDescriptorBuilder::NORMALIZER_TARGET_REGION_SIZE)))
 if arg.include?(TableDescriptorBuilder::NORMALIZER_TARGET_REGION_SIZE)
+      # TODO: Keeping backward compatability for NORMALIZER_TARGET_REGION_SIZE 
with HBASE-25651 change. Can be removed in later version
+      if arg.include?(TableDescriptorBuilder::NORMALIZER_TARGET_REGION_SIZE)
+        puts 'Use of NORMALIZER_TARGET_REGION_SIZE has been deprecated and 
will be removed in future version, please use NORMALIZER_TARGET_REGION_SIZE_MB 
instead'  

Review comment:
       @madrob @bitoffdev do you know what the appropriate channel for 
communicating a warning such as this would be?




-- 
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]


Reply via email to