You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Hernan Romer (Jira)" <ji...@apache.org> on 2026/03/06 18:28:00 UTC

[jira] [Created] (HBASE-29976) Splitter is inefficient when splitting on single characters

Hernan Romer created HBASE-29976:
------------------------------------

             Summary: Splitter is inefficient when splitting on single characters
                 Key: HBASE-29976
                 URL: https://issues.apache.org/jira/browse/HBASE-29976
             Project: HBase
          Issue Type: Bug
          Components: backup&amp;restore
            Reporter: Hernan Romer
         Attachments: Screenshot 2026-03-06 at 1.27.35 PM.png

The BackupSystemTable uses a lot of Splitter#on(','), which automatically uses a regex under the hood. Java String#split optimizes single character splits to avoid uses regexes. At my company, we've seen that this can cause a lot of HMaster churn, and lead to long running chores as a result. 

 

We should replace these Splitter usages with String#split



--
This message was sent by Atlassian Jira
(v8.20.10#820010)