HBase
  1. HBase
  2. HBASE-5563

HRegionInfo#compareTo should compare regionId as well

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.5, 0.92.0, 0.94.0, 0.95.2
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In the one region multi assigned case, we could find that two regions have the same table name, same startKey, same endKey, and different regionId, so these two regions are same in TreeMap but different in HashMap.

      1. hbase-5563-v3-0.92.patch
        3 kB
        Jonathan Hsieh
      2. hbase-5563-v3.patch
        3 kB
        Jonathan Hsieh
      3. HBASE-5563v2.patch
        0.6 kB
        chunhui shen
      4. HBASE-5563v2.patch
        0.6 kB
        stack
      5. hbase-5563-0.90.patch
        3 kB
        Jonathan Hsieh
      6. HBASE-5563.patch
        0.6 kB
        chunhui shen

        Issue Links

          Activity

          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.94.0 [ 12316419 ]
          Fix Version/s 0.90.7 [ 12319481 ]
          Fix Version/s 0.92.2 [ 12319888 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Lars Hofhansl made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jonathan Hsieh made changes -
          Link This issue is related to HBASE-5637 [ HBASE-5637 ]
          Jonathan Hsieh made changes -
          Fix Version/s 0.90.7 [ 12319481 ]
          Jonathan Hsieh made changes -
          Attachment hbase-5563-0.90.patch [ 12519737 ]
          Jonathan Hsieh made changes -
          Link This issue is required by HBASE-5128 [ HBASE-5128 ]
          Ted Yu made changes -
          Summary HRegionInfo#compareTo add the comparison of regionId HRegionInfo#compareTo should compare regionId as well
          Jonathan Hsieh made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.92.2 [ 12319888 ]
          Fix Version/s 0.94.0 [ 12316419 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Resolution Fixed [ 1 ]
          Jonathan Hsieh made changes -
          Attachment hbase-5563-v3-0.92.patch [ 12518570 ]
          Jonathan Hsieh made changes -
          Affects Version/s 0.92.0 [ 12314223 ]
          Affects Version/s 0.90.5 [ 12317145 ]
          Affects Version/s 0.94.0 [ 12316419 ]
          Affects Version/s 0.96.0 [ 12320040 ]
          Jonathan Hsieh made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jonathan Hsieh made changes -
          Attachment hbase-5563-v3.patch [ 12518565 ]
          stack made changes -
          Attachment HBASE-5563v2.patch [ 12518146 ]
          chunhui shen made changes -
          Attachment HBASE-5563v2.patch [ 12518145 ]
          Ted Yu made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Ted Yu made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          chunhui shen made changes -
          Field Original Value New Value
          Attachment HBASE-5563.patch [ 12517985 ]
          chunhui shen created issue -

            People

            • Assignee:
              chunhui shen
              Reporter:
              chunhui shen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development