HBASE-9463 Fix comments around alter tables

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1521270 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
nkeywal 2013-09-09 20:06:09 +00:00
parent 6b41e5ebcf
commit 77599e2fc2
2 changed files with 3 additions and 5 deletions

View File

@ -49,10 +49,7 @@ import java.util.Set;
* An HColumnDescriptor contains information about a column family such as the
* number of versions, compression settings, etc.
*
* It is used as input when creating a table or adding a column. Once set, the
* parameters that specify a column cannot be changed without deleting the
* column and recreating it. If there is data stored in the column, it will be
* deleted when the column is deleted.
* It is used as input when creating a table or adding a column.
*/
@InterfaceAudience.Public
@InterfaceStability.Evolving

View File

@ -22,7 +22,8 @@ module Shell
class Alter < Command
def help
return <<-EOF
Alter a table. Table must be disabled to be altered (see help 'disable').
Alter a table. Depending on the HBase setting ("hbase.online.schema.update.enable"),
the table must be disabled or not to be altered (see help 'disable').
You can add/modify/delete column families, as well as change table
configuration. Column families work similarly to create; column family
spec can either be a name string, or a dictionary with NAME attribute.