jinhyukify opened a new pull request, #6544:
URL: https://github.com/apache/hbase/pull/6544

   Tested same result and logs in this 
[comment](https://issues.apache.org/jira/browse/HBASE-28600?focusedCommentId=17903856&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17903856)
   
   I introduced the 
[StorageSize](https://github.com/apache/hadoop/blob/branch-3.1.0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/StorageSize.java)
 and 
[StorageUnit](https://github.com/apache/hadoop/blob/branch-3.1.0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/StorageUnit.java)
 classes from Hadoop 3.x in 
https://github.com/apache/hbase/commit/b20c42cb5bcc2ba0dd0bd00909691c6ead23dfab
   Another approach could have been implementing similar methods in our 
[Size](https://github.com/apache/hbase/blob/branch-2/hbase-client/src/main/java/org/apache/hadoop/hbase/Size.java)
 class we are already using to parse storage sizes.
   However, since Hadoop 3 already provides a nice way to parse storage sizes, 
I thought it's also okay to backport these related classes to HBase 2.x and use 
them directly.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to