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

PE always re-creates table when we specify the split policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0, 2.0.0
    • 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • None
    • None
    • Reviewed

    Description

      I find this bug when i run the tests for HBASE-17623
      The critical code is shown below.

      if ((exists && opts.presplitRegions != DEFAULT_OPTS.presplitRegions)
            || (!isReadCmd && desc != null && desc.getRegionSplitPolicyClassName() != opts.splitPolicy)
            || (!isReadCmd && desc != null && desc.getRegionReplication() != opts.replicas)) {
      

      Attachments

        1. HBASE-17803.branch-1.3.v0.patch
          1 kB
          Chia-Ping Tsai
        2. HBASE-17803.branch-1.v0.patch
          1 kB
          Chia-Ping Tsai
        3. HBASE-17803.v0.patch
          1 kB
          Chia-Ping Tsai

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: