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

[HBase MOB] MOBTable cloned from a snapshot leads to data loss, when that actual snapshot and main table is deleted.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: hbase-11339
    • Fix Version/s: hbase-11339, 2.0.0
    • Component/s: mob
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      clone snapshot on mob feature leads to data loss for mob data.
      steps to reproduce:
      ===============
      1. created MOB table with two column families like "mobcf" (mob is enabled) and "norcf"
      2. insert mob data and normal data at a time into the table.
      3. scan the MOB table.
      4. take snapshot by specifying the table name.
      5. clone the snapshot by specifying the new table name.
      6. check the new table is created or not and try scan for the new table which have both mob data and normal data should give back to the client.
      7. delete the snapshot which done in step 4.
      8. delete the main table which done in step 1.
      9. Now scan the new table again.

        Attachments

        1. HBASE-13737-V2.diff
          5 kB
          Jingcheng Du
        2. HBASE-13737-hbase-11339.patch
          2 kB
          Ashutosh Jindal

          Activity

            People

            • Assignee:
              ashutosh_jindal Ashutosh Jindal
              Reporter:
              sreenivasulureddy Y. SREENIVASULU REDDY
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: