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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 2.0.0
    • Fix Version/s: 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.v0.patch
          1 kB
          Chia-Ping Tsai
        2. HBASE-17803.branch-1.v0.patch
          1 kB
          Chia-Ping Tsai
        3. HBASE-17803.branch-1.3.v0.patch
          1 kB
          Chia-Ping Tsai

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: