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

Create table with EMPTY_START_ROW passed as splitKey causes the HMaster to abort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.94.0, 0.95.0
    • Client
    • None
    • Reviewed

    Description

      A coworker of mine just had this scenario. It does not make sense the EMPTY_START_ROW as splitKey (since the region with the empty start key is implicit), but it should not cause the HMaster to abort.
      The abort happens because it tries to bulk assign the same region twice and then runs into race conditions with ZK.

      The same would (presumably) happen when two identical split keys are passed, but the client blocks that. The simplest solution here is to also block passed null or EMPTY_START_ROW as split key by the client.

      Attachments

        1. 5848-addendum-v7.txt
          2 kB
          Lars Hofhansl
        2. 5848-addendum-v7.txt
          2 kB
          Lars Hofhansl
        3. 5848-addendum-v6.txt
          2 kB
          Lars Hofhansl
        4. 5848-addendum-v5.txt
          4 kB
          Lars Hofhansl
        5. 5848-addendum-v4.txt
          3 kB
          Ted Yu
        6. 5848-addendum-v3.txt
          2 kB
          Ted Yu
        7. 5848-addendum-v2.txt
          1 kB
          Ted Yu
        8. HBASE-5848_addendum.patch
          0.7 kB
          ramkrishna.s.vasudevan
        9. HBASE-5848_0.94.patch
          4 kB
          ramkrishna.s.vasudevan
        10. HBASE-5848.patch
          4 kB
          ramkrishna.s.vasudevan
        11. HBASE-5848.patch
          2 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: