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

Deletion of a cell deletes the previous versions too



    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 1.3.1, 1.2.6, 2.0.0-alpha-1
    • Fix Version/s: 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • Component/s: API, shell
    • Labels:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Now, delete.rb won't delete all versions of the specified column. It only delete the specified version (if user assigns a timestamp) or the latest version (default behavior)


      When I tried to delete a cell using it's timestamp in the Hbase Shell, the previous versions of the same cell also got deleted. But when I tried the same using the Java API, then the previous versions are not deleted and I can retrive the previous values.


      see this file to fix the issue. This method (public Delete addColumn(final byte [] family, final byte [] qualifier, final long timestamp)) only deletes the current version of the cell. The previous versions are not deleted.


        1. HBASE-18142.master.v0.patch
          0.8 kB
          Chun-Hao Tang
        2. HBASE-18142.master.v1.patch
          5 kB
          Chun-Hao Tang
        3. HBASE-18142.master.v2.patch
          8 kB
          Chun-Hao Tang
        4. HBASE-18142.master.v3.patch
          9 kB
          Chun-Hao Tang
        5. HBASE-18142.master.v4.patch
          9 kB
          Chun-Hao Tang
        6. HBASE-18142.master.v5.patch
          9 kB
          Chun-Hao Tang
        7. HBASE-18142.master.v6.patch
          10 kB
          Chun-Hao Tang
        8. HBASE-18142.master.v7.patch
          10 kB
          Chun-Hao Tang
        9. HBASE-18142.master.v8.patch
          10 kB
          Chun-Hao Tang
        10. HBASE-18142.branch-1.v0.patch
          43 kB
          Chun-Hao Tang
        11. HBASE-18142.branch-1.v1.patch
          8 kB
          Chun-Hao Tang

          Issue Links



              • Assignee:
                chunhao Chun-Hao Tang
                KarthickRam Karthick
              • Votes:
                0 Vote for this issue
                13 Start watching this issue


                • Created: