[ https://issues.apache.org/jira/browse/HADOOP-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527196 ]
stack commented on HADOOP-1611: ------------------------------- HADOOP-1720 adds 'alter table'. Using it, you can add/delete columns. It runs the disable/enable of the table for you. The 'alter table' also has notion of 'change' for column families to set column family attributes but currently its unimplemented. That leaves enable/disable table, merge of two adjacent regions (Specifying regexes on selects belongs in an another issue). > [hbase] Add enableTable, disableTable, addColumn, etc, to shell > --------------------------------------------------------------- > > Key: HADOOP-1611 > URL: https://issues.apache.org/jira/browse/HADOOP-1611 > Project: Hadoop > Issue Type: Sub-task > Components: contrib/hbase > Reporter: stack > Priority: Minor > > Here are some nice-to-have admin functions that would sit nicely in hbase > shell: > + public void addColumn(Text tableName, HColumnDescriptor column) throws > IOException; > + public void deleteColumn(Text tableName, Text columnName) throws > IOException; > + > + public void enableTable(Text tableName) throws IOException; > + public void disableTable(Text tableName) throws IOException; > (To add/delete columns you must first disable the table and then reenable it). > Other possibles: > + public void mergeRegions(Text regionName1, Text regionName2) throws > IOException; > + Allow specification of basic row filtering (Doesn't have to be exotic): > regex match, upper limit on rows returned. > + Allow changing versions on column families, enabling/disabling compression, > bloom filters -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.