Index: bin/HBase.rb =================================================================== --- bin/HBase.rb (revision 890963) +++ bin/HBase.rb (working copy) @@ -222,13 +222,18 @@ if method == "delete" @admin.deleteColumn(tableName, args[NAME]) elsif method == "table_att" - args[MAX_FILESIZE]? htd.setMaxFileSize(JLong.valueOf(args[MAX_FILESIZE])) : - htd.setMaxFileSize(HTableDescriptor::DEFAULT_MAX_FILESIZE); - args[READONLY]? htd.setReadOnly(JBoolean.valueOf(args[READONLY])) : - htd.setReadOnly(HTableDescriptor::DEFAULT_READONLY); - args[MEMSTORE_FLUSHSIZE]? - htd.setMemStoreFlushSize(JLong.valueOf(args[MEMSTORE_FLUSHSIZE])) : - htd.setMemStoreFlushSize(HTableDescriptor::DEFAULT_MEMSTORE_FLUSH_SIZE); + if args[MAX_FILESIZE] + htd.setMaxFileSize(JLong.valueOf(args[MAX_FILESIZE])) + end + if args[READONLY] + htd.setReadOnly(JBoolean.valueOf(args[READONLY])) + end + if args[MEMSTORE_FLUSHSIZE] + htd.setMemStoreFlushSize(JLong.valueOf(args[MEMSTORE_FLUSHSIZE])) + end + if args[DEFERRED_LOG_FLUSH] + htd.setDeferredLogFlush(JBoolean.valueOf(args[DEFERRED_LOG_FLUSH])) + end @admin.modifyTable(tableName.to_java_bytes, htd) else descriptor = hcd(args) Index: bin/hirb.rb =================================================================== --- bin/hirb.rb (revision 890963) +++ bin/hirb.rb (working copy) @@ -176,7 +176,7 @@ hbase> alter 't1', {NAME => 'f1', METHOD => 'delete'} You can also change table-scope attributes like MAX_FILESIZE - MEMSTORE_FLUSHSIZE and READONLY. + MEMSTORE_FLUSHSIZE, READONLY, and DEFERRED_LOG_FLUSH. For example, to change the max size of a family to 128MB, do: hbase> alter 't1', {METHOD => 'table_att', MAX_FILESIZE => '134217728'}