Member since
03-27-2018
2
Posts
0
Kudos Received
0
Solutions
04-03-2018
06:53 AM
Hi there. Anyone in the community who could share an idea?
... View more
03-28-2018
11:44 AM
Dear all, I modified the compression setting on an hbase table containing a MOB column - where I did not have any compression before. hbase:/> disable 'MyTable'
hbase:/> alter 'MyTable' {NAME=> 'cfMOBContent', COMPRESSION=>'SNAPPY' } hbase:/> enable 'MyTable' hbase:/> compact 'MyTable','MOB' hbase:/> major_compact 'MyTable' I did test if SNAPPY is available before. My understanding was, that this change will lead to a major re-compaction on all files - freeing space on HDFS. Looking into the logs, it seems that compaction is run, but only on a view files, not all previously compacted files. Now: Is there a way i can force major_compact on all files related to that table? The only idea I have remaining is: Snapshot, Export, Truncate, Import - Would that work? p.s.: The cluster is IDLE and not in production.
... View more
Labels:
- Labels:
-
Apache HBase