sandeep007
sandeep007

Reputation: 383

how to change the name of column family in the hbase table

I have a Hbase table with only 1 column family(cf1) having 100 columns under it. I need to change cf1 to new column family(CF1).

In short i need to modify column family name. I have gone through the following link http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/30959 but of no use.

Thanks in Advance.

Upvotes: 3

Views: 2602

Answers (1)

halil
halil

Reputation: 1812

I think you should copy columns from family to family then delete old column family. If there was a hbase client api for that, it would do the same, i think. Because data written to hbase files contains column family name in it.

Upvotes: 2

Related Questions