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

Tags on append doesn't behave like expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.0-alpha-4
    • None
    • Client
    • None

    Description

      When appending a tag an HBase cell, they seems to not really be append be live their own life. In the example below, I put a cell, append the TTL, and we can see between the 2 scans that only the TTL append cell expires. I was expecting those 2 cells to become one and expire together. This can be easily figured by looking at the returned timestamp from the scan.

      hbase(main):082:0> put 't1', 'r1', 'f1:c1', 'value'
      0 row(s) in 0.1350 seconds
      
      hbase(main):083:0> append 't1', 'r1', 'f1:c1', '', { TTL => 5000 }
      0 row(s) in 0.0080 seconds
      
      hbase(main):084:0> scan 't1'
      ROW                                               COLUMN+CELL                                                                                                                                      
       r1                                               column=f1:c1, timestamp=1513879615014, value=value                                                                                               
      1 row(s) in 0.0730 seconds
      
      hbase(main):085:0> scan 't1'
      ROW                                               COLUMN+CELL                                                                                                                                      
       r1                                               column=f1:c1, timestamp=1513879599375, value=value                                                                                               
      1 row(s) in 0.0500 seconds
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmspaggi Jean-Marc Spaggiari
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: