[GitHub] [hbase] nkalmar commented on pull request #3737: HBASE-26340 - fix RegionSizeCalculator getLEngth to bytes instead of …

2021-11-22 Thread GitBox


nkalmar commented on pull request #3737:
URL: https://github.com/apache/hbase/pull/3737#issuecomment-975544617


   Closed this as I started fresh (force pushed auto-closed it to be precise)


-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hbase] nkalmar commented on pull request #3737: HBASE-26340 - fix RegionSizeCalculator getLEngth to bytes instead of …

2021-10-13 Thread GitBox


nkalmar commented on pull request #3737:
URL: https://github.com/apache/hbase/pull/3737#issuecomment-941196132






-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hbase] nkalmar commented on pull request #3737: HBASE-26340 - fix RegionSizeCalculator getLEngth to bytes instead of …

2021-10-13 Thread GitBox


nkalmar commented on pull request #3737:
URL: https://github.com/apache/hbase/pull/3737#issuecomment-942171799


   There is also an ongoing conversation on dev list, meanwhile I'll have an 
update for this PR soon as to store the real Byte value and not a rounded MB 
conversion.


-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hbase] nkalmar commented on pull request #3737: HBASE-26340 - fix RegionSizeCalculator getLEngth to bytes instead of …

2021-10-12 Thread GitBox


nkalmar commented on pull request #3737:
URL: https://github.com/apache/hbase/pull/3737#issuecomment-941196132


   I assumed Size class method get(Unit unit) will return the value in teh 
given unit, but turns out it has just the same conversation basically, and we 
set it in MB so while we do get Byte unit back, it converts again from MB, but 
this time in Size class. We set regionszie in RegionMetricsBuilder: 
   setStoreFileSize(new Size(regionLoadPB.getStorefileSizeMB(), 
Size.Unit.MEGABYTE))
   
   But this is a much bigger change then I originally anticipated, and I have 
less and less belief this is something we want to change.


-- 
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: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org