frostruan commented on PR #5699:
URL: https://github.com/apache/hbase/pull/5699#issuecomment-1966499225

   I prefer to use 1 byte to represent unknown region size for two reasons:
   
   1. it cannot be a valid region size because even a minimal keyvalue is 
bigger than that.
   2. some computing engines, like spark, will filter out splits with size less 
than 0. You can see this for details.
   
https://github.com/apache/spark/blob/v3.5.1-rc2/core/src/main/scala/org/apache/spark/rdd/NewHadoopRDD.scala#L138
   
   I'll try to answer your questions later, sorry have to catch the shuttle bus.
   
   Thanks. @aalhour 


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