HBase
  1. HBase
  2. HBASE-1212

merge tool expects regions all have different sequence ids

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.95.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently merging two regions, the merge tool will compare their sequence ids. If same, it will decrement one. It needs to do this because on region open, files are keyed by their sequenceid; if two the same, one will erase the other.

      Well, with the move to the aggregating hfile format, the sequenceid is written when the file is created and its no longer written into an aside file but as metadata on to the end of the file. Changing the sequenceid is no longer an option.

      This issue is about figuring a solution for the rare case where two store files have same sequence id AND we want to merge the two regions.

      1. failure.log
        14 kB
        Jean-Marc Spaggiari
      2. HBASE-1212.patch
        1 kB
        Jean-Marc Spaggiari
      3. HBASE-1212-v2.patch
        1 kB
        Jean-Marc Spaggiari
      4. HBASE-1212-v3-trunk.patch
        1 kB
        Jean-Marc Spaggiari

        Issue Links

          Activity

          stack created issue -
          stack made changes -
          Field Original Value New Value
          Fix Version/s 0.20.0 [ 12313474 ]
          ryan rawson made changes -
          Link This issue is blocked by HBASE-1249 [ HBASE-1249 ]
          stack made changes -
          Fix Version/s 0.20.0 [ 12313474 ]
          stack made changes -
          Link This issue is related to HBASE-1621 [ HBASE-1621 ]
          Jean-Marc Spaggiari made changes -
          Attachment failure.log [ 12556151 ]
          Jean-Marc Spaggiari made changes -
          Assignee Jean-Marc Spaggiari [ jmspaggi ]
          Jean-Marc Spaggiari made changes -
          Attachment HBASE-1212.patch [ 12556275 ]
          Jean-Marc Spaggiari made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jean-Marc Spaggiari made changes -
          Attachment HBASE-1212-v2.patch [ 12556386 ]
          Jean-Marc Spaggiari made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Jean-Marc Spaggiari made changes -
          Attachment HBASE-1212-v3-trunk.patch [ 12566598 ]
          Jean-Marc Spaggiari made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Ted Yu made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          stack made changes -
          Fix Version/s 0.95.1 [ 12324288 ]
          Fix Version/s 0.95.0 [ 12324094 ]
          stack made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          stack made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jean-Marc Spaggiari
              Reporter:
              stack
            • Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development