|
|
Cyril Scetbon 2012-06-27, 08:50
Hi,
I've a table with 4 column families. I've deleted the data in a column family with an alter command and tried a major_compact on the table but I can't free space :( it's still filled at 80%. I've just changed the number of versions on the column family and tried another major compact. Is it the good way ? is there another thing to do ?
thanks Cyril SCETBON
Amandeep Khurana 2012-06-27, 18:03
Cyril,
Did you notice the space on the hbase directory in HDFS change at all? It takes time to complete the major compactions (and it depends on the size of the tables). Deleting column families will just delete those HFiles. That should definitely free up space.
-Amandeep
On Wed, Jun 27, 2012 at 4:50 AM, Cyril Scetbon <[EMAIL PROTECTED]>wrote:
> Hi, > > I've a table with 4 column families. I've deleted the data in a column > family with an alter command and tried a major_compact on the table but I > can't free space :( it's still filled at 80%. I've just changed the number > of versions on the column family and tried another major compact. Is it the > good way ? is there another thing to do ? > > thanks > > > Cyril SCETBON > >
Cyril Scetbon 2012-06-27, 21:17
It seems that reducing the number of versions kept by column family enable the freeing of space.
Regards
Cyril SCETBON
On Jun 27, 2012, at 8:03 PM, Amandeep Khurana wrote:
> Cyril, > > Did you notice the space on the hbase directory in HDFS change at all? It > takes time to complete the major compactions (and it depends on the size of > the tables). Deleting column families will just delete those HFiles. That > should definitely free up space. > > -Amandeep > > On Wed, Jun 27, 2012 at 4:50 AM, Cyril Scetbon <[EMAIL PROTECTED]>wrote: > >> Hi, >> >> I've a table with 4 column families. I've deleted the data in a column >> family with an alter command and tried a major_compact on the table but I >> can't free space :( it's still filled at 80%. I've just changed the number >> of versions on the column family and tried another major compact. Is it the >> good way ? is there another thing to do ? >> >> thanks >> >> >> Cyril SCETBON >> >>
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext