hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhir patil <spatil.sud...@gmail.com>
Subject Re: How to change blocksize for existing hbase table? Does alter table works?
Date Thu, 26 Nov 2015 16:52:35 GMT
Alter table do work for changing block size,
http://www.cloudera.com/content/www/en-us/documentation/enterprise/5-3-x/topics/admin_configure_blocksize.html

On Thu, Nov 26, 2015 at 7:18 PM, sudhir patil <spatil.sudhir@gmail.com>
wrote:

>
> I want to change block size of 3xisting table, So is alter table as
> mentioned below, will this change block size for my table? Also do I need
> to run major_compaction after alter table.
>
> disable 'table1'
> alter 'table1', { NAME => 'f1',  BLOCKSIZE => '16384', COMPRESSION =>
> 'SNAPPY', DATA_BLOCK_ENCODING => 'FAST_DIFF'}
> enable 'table1'
> major_compact  'table1'
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message