[ https://issues.apache.org/jira/browse/HBASE-18149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041282#comment-16041282 ]
Hudson commented on HBASE-18149: -------------------------------- SUCCESS: Integrated in Jenkins build HBase-1.4 #766 (See [https://builds.apache.org/job/HBase-1.4/766/]) HBASE-18149 The setting rules for table-scope attributes and (tedyu: rev e94245331eaccaee0a9b2d75c3e4c08586a8b16a) * (edit) hbase-shell/src/test/ruby/hbase/admin_test.rb * (edit) hbase-shell/src/main/ruby/hbase/admin.rb > The setting rules for table-scope attributes and family-scope attributes > should keep consistent > ----------------------------------------------------------------------------------------------- > > Key: HBASE-18149 > URL: https://issues.apache.org/jira/browse/HBASE-18149 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 2.0.0, 1.2.5 > Reporter: Guangxu Cheng > Assignee: Guangxu Cheng > Fix For: 2.0.0, 3.0.0, 1.4.0 > > Attachments: HBASE-18149-branch-1-v1.patch, > HBASE-18149-master-v1.patch, HBASE-18149-master-v2.patch > > > I use the following command to create a table. > {code} > hbase(main):030:0> create 't3',{NAME => 'f2', BLOCKCACHE => false}, > {COMPACTION_ENABLED => false} > An argument ignored (unknown or overridden): COMPACTION_ENABLED > 0 row(s) in 1.1390 seconds > hbase(main):031:0> describe 't3' > Table t3 is ENABLED > t3 > > > COLUMN FAMILIES DESCRIPTION > > > {NAME => 'f2', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', > KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => > 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'false', > BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} > 1 row(s) in 0.0720 seconds > {code} > *BLOCKCACHE* was in effect but *COMPACTION_ENABLED* didn't take effect. > After checking code, I found that if the table-scope attributes value is > false, you need to enclose 'false' in single quotation marks while > family-scope is not required. > so we should keep the consistent logic for table-scope and family-scope. > the command alter also have the same problem. -- This message was sent by Atlassian JIRA (v6.3.15#6346)