hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Levin <magn...@gmail.com>
Subject unable to delete rows in some regions
Date Tue, 22 Apr 2014 17:34:31 GMT
Hey All, I was wondering if anyone had this issue with 0.90.5 HBASE.
I have a table 'img611', I issue delete of keys like this:

hbase(main):004:0> describe 'img611'
 {NAME => 'img611', FAMILIES => [{NAME => 'att', BLOOMFILTER => 'ROW',
VERSIONS => '1', COMPRESSION => 'NONE', TTL => '21474836 true
 47', BLOCKSIZE => '350000', IN_MEMORY => 'false', BLOCKCACHE =>
1 row(s) in 3.3440 seconds

hbase(main):003:0> delete 'img611', '611:u4rpx.jpg', 'att:data'
0 row(s) in 0.0210 seconds

hbase(main):005:0> major_compact 'img611'

After compaction completed on a region, the cells are still there,
even tho I am unable to 'get' them anymore.

hbase(main):005:0> get 'img611', '611:u4rpx.jpg'
COLUMN                                             CELL
0 row(s) in 0.0140 seconds

Here is compaction log:

2014-04-22 10:19:38,266 INFO
org.apache.hadoop.hbase.regionserver.Store: Completed major compaction
of 1 file(s), new
size=17.7g; total size for store is 17.7g
2014-04-22 10:19:38,266 INFO
org.apache.hadoop.hbase.regionserver.HRegion: completed compaction on
region img611,u4rpx.jpg,1329700235569.cf0a557ff4030c238fc5a6ad732be45f.
after 35mins, 45sec

More here:  https://gist.github.com/anonymous/11187852

The store size was 17.7g, and remained the same after compaction. If I
examine hfile I can still see 611:u4rpx.jpg data in it.

Any ideas whats going on?


View raw message