hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhir patil <spatil.sud...@gmail.com>
Subject How to change blocksize for existing hbase table? Does alter table works?
Date Thu, 26 Nov 2015 11:18:31 GMT
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 =>
enable 'table1'
major_compact  'table1'

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