wchevreuil commented on issue #966: HBASE-23620 KeyPrefixRegionSplitPolicy may cause split to fail when s… URL: https://github.com/apache/hbase/pull/966#issuecomment-573623324 This specific case was a customer using [yarn timeline service v2](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/TimelineServiceV2.html). Internally, it defines a KPRSP with prefix length of 4, which in this case had problems to split regions for rows representing entries for 'hdfs' user. YARN-10077 has been filled to increase the prefix length in the table definition. > If you do not need this assumption then just do not use this policy? Some applications may not need it as a strict rule. @Apache9 arguments, though, are valid. Maybe a better solution then is to implement this flexible behaviour as another policy (like @saintstack suggested). But for KPRSP, I think it should at least apply the validation and throw an exception if it can't get a valid split point, other than leaving the procedure moving forward and failing further to perform the split.
---------------------------------------------------------------- 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
