hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Percy <mpe...@yahoo-inc.com>
Subject Delete reveals older version of a column even when VERSIONS=1
Date Sat, 29 Jan 2011 01:43:54 GMT
Hi folks,
I am seeing some unexpected behavior with HBase 0.20.6 when deleting columns. Our cluster
has been running for some time however we recently upgraded from Hbase 0.20.3. The family
I am writing to is specified as VERSIONS => '1' when doing a describe, yet HBase appears
to be maintaining several versions of the columns.

Below is a shell session demonstrating the problem. Is this a configuration problem, as-designed,
or possibly a bug?

Thanks,
Mike

hbase(main):004:0> put 'table', 'row', 'family:qual', '1'
0 row(s) in 0.0110 seconds
hbase(main):007:0> get 'table', 'row'
COLUMN                       CELL                                                        
                    
 family:qual                   timestamp=1296264772717, value=1                          
                      
1 row(s) in 0.0080 seconds
hbase(main):008:0> put 'table', 'row', 'family:qual', '2'
0 row(s) in 0.0020 seconds
hbase(main):009:0> put 'table', 'row', 'family:qual', '3'
0 row(s) in 0.0020 seconds
hbase(main):010:0> get 'table', 'row'                  
COLUMN                       CELL                                                        
                    
 family:qual                   timestamp=1296264797169, value=3                          
                      
1 row(s) in 0.0030 seconds
hbase(main):011:0> delete 'table', 'row', 'family:qual'  
0 row(s) in 0.0040 seconds
hbase(main):012:0> get 'table', 'row'                
COLUMN                       CELL                                                        
                    
 family:qual                   timestamp=1296264795365, value=2                          
                      
1 row(s) in 0.0630 seconds
hbase(main):013:0> delete 'table', 'row', 'family:qual'
0 row(s) in 0.0360 seconds
hbase(main):014:0> get 'table', 'row'                
COLUMN                       CELL                                                        
                    
 family:qual                   timestamp=1296264772717, value=1                          
                      
1 row(s) in 0.0030 seconds
hbase(main):013:0> delete 'table', 'row', 'family:qual'
0 row(s) in 0.0360 seconds
hbase(main):016:0> get 'table', 'row'                
COLUMN                       CELL                                                        
                    
0 row(s) in 0.0030 seconds


Mime
View raw message