[ 
https://issues.apache.org/jira/browse/HBASE-21622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pankaj Birat updated HBASE-21622:
---------------------------------
    Description: 
I am using HBase version 1.2.7

Getting old value for cell after TTL expiry of latest value cell value set with 
TTL.

Table:

COLUMN FAMILIES DESCRIPTION

{NAME => 'data', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', 
KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', 
COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => 
'65536', REPLICATION_SCOPE => '1'}

 

First time I am putting cell value without TTL.

Eg.

*put 'sepTest', '1', 'data:value', 'one'*

Now for same key I am putting value with TTL

*put 'sepTest', '1', 'data:value', 'updated_one', \{TTL => 100000}*

Till expiry time (100000)
 I am getting value : 'updated_one' for key '1'

After expiry of TTL I am getting old valu  !Screenshot 2018-12-19 at 11.18.52 
PM.png! e 'one'

 

Attaching screenshot for reference

  was:
I am using HBase version 1.2.7

Getting old value for cell after TTL expiry of latest value cell value set with 
TTL.

Table:

COLUMN FAMILIES DESCRIPTION

{NAME => 'data', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', 
KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', 
COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => 
'65536', REPLICATION_SCOPE => '1'}

 

First time I am putting cell value without TTL.

Eg.

put 'sepTest', '1', 'data:value', 'one'

Now for same key I am putting value with TTL

put 'sepTest', '1', 'data:value', 'updated_one', \{TTL => 100000}

Till expiry time (100000)
I am getting value : 'updated_one' for key '1'

After expiry of TTL I am getting old valu !Screenshot 2018-12-19 at 11.18.52 
PM.png! e 'one'

 

Attaching screenshot for reference


> Getting old value for cell after TTL expiry of latest value cell value set 
> with TTL.
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-21622
>                 URL: https://issues.apache.org/jira/browse/HBASE-21622
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Pankaj Birat
>            Priority: Major
>         Attachments: Screenshot 2018-12-19 at 11.18.52 PM.png, Screenshot 
> 2018-12-19 at 11.20.39 PM.png
>
>
> I am using HBase version 1.2.7
> Getting old value for cell after TTL expiry of latest value cell value set 
> with TTL.
> Table:
> COLUMN FAMILIES DESCRIPTION
> {NAME => 'data', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', 
> KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 
> 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', 
> BLOCKSIZE => '65536', REPLICATION_SCOPE => '1'}
>  
> First time I am putting cell value without TTL.
> Eg.
> *put 'sepTest', '1', 'data:value', 'one'*
> Now for same key I am putting value with TTL
> *put 'sepTest', '1', 'data:value', 'updated_one', \{TTL => 100000}*
> Till expiry time (100000)
>  I am getting value : 'updated_one' for key '1'
> After expiry of TTL I am getting old valu  !Screenshot 2018-12-19 at 11.18.52 
> PM.png! e 'one'
>  
> Attaching screenshot for reference



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to