Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18075

Support namespaces and tables with non-latin alphabetical characters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Client
    • None
    • Reviewed

    Description

      On the heels of HBASE-18067, it would be nice to support namespaces and tables with names that fall outside of Latin alphabetical characters and numbers.

      Our current regex for allowable characters is approximately [a-zA-Z0-9]+.

      It would be nice to replace a-zA-Z with Java's \p{IsAlphabetic} which will naturally restrict the unicode character space down to just those that are part of the alphabet for each script (e.g. latin, cyrillic, greek).

      Technically, our possible scope of allowable characters is, best as I can tell, only limited by the limitations of ZooKeeper itself https://zookeeper.apache.org/doc/r3.4.10/zookeeperProgrammers.html#ch_zkDataModel (as both table and namespace are created as znodes).

      Attachments

        1. HBASE-18075.001.patch
          13 kB
          Josh Elser
        2. HBASE-18075.002.patch
          14 kB
          Josh Elser
        3. HBASE-18075.003.patch
          12 kB
          Josh Elser
        4. HBASE-18075-addendum.patch
          1 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: