[ https://issues.apache.org/jira/browse/HBASE-14367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003237#comment-15003237 ]
Romil Choksi commented on HBASE-14367: -------------------------------------- I am trying to create a new table and set the NORMALIZATION_ENABLED as true, but seems like the argument NORMALIZATION_ENABLED is being ignored. And the attribute NORMALIZATION_ENABLED is not displayed on doing a desc command on that table {code} hbase(main):020:0> create 'test-table-4', 'cf', {NORMALIZATION_ENABLED => 'true'} An argument ignored (unknown or overridden): NORMALIZATION_ENABLED 0 row(s) in 4.2670 seconds => Hbase::Table - test-table-4 hbase(main):021:0> desc 'test-table-4' Table test-table-4 is ENABLED test-table-4 COLUMN FAMILIES DESCRIPTION {NAME => 'cf', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOC KCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} 1 row(s) in 0.0430 seconds {code} However, on doing an alter command on that table we can set the NORMALIZATION_ENABLED attribute for that table {code} hbase(main):022:0> alter 'test-table-4', {NORMALIZATION_ENABLED => 'true'} Unknown argument ignored: NORMALIZATION_ENABLED Updating all regions with the new schema... 1/1 regions updated. Done. 0 row(s) in 2.3640 seconds hbase(main):023:0> desc 'test-table-4' Table test-table-4 is ENABLED test-table-4, {TABLE_ATTRIBUTES => {NORMALIZATION_ENABLED => 'true'} COLUMN FAMILIES DESCRIPTION {NAME => 'cf', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOC KCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} 1 row(s) in 0.0190 seconds {code} I think it would be better to have a single step process to enable normalization while creating the table itself, rather than a two step process to alter the table later on to enable normalization > Add normalization support to shell > ---------------------------------- > > Key: HBASE-14367 > URL: https://issues.apache.org/jira/browse/HBASE-14367 > Project: HBase > Issue Type: Bug > Components: Balancer, shell > Affects Versions: 1.1.2 > Reporter: Lars George > Assignee: Mikhail Antonov > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: HBASE-14367-branch-1.2.v1.patch, > HBASE-14367-branch-1.2.v2.patch, HBASE-14367-branch-1.2.v3.patch, > HBASE-14367-branch-1.v1.patch, HBASE-14367-v1.patch, HBASE-14367.patch > > > https://issues.apache.org/jira/browse/HBASE-13103 adds support for setting a > normalization flag per {{HTableDescriptor}}, along with the server side chore > to do the work. > What is lacking is to easily set this from the shell, right now you need to > use the Java API to modify the descriptor. This issue is to add the flag as a > known attribute key and/or other means to toggle this per table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)