[ 
https://issues.apache.org/jira/browse/HBASE-20575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521817#comment-16521817
 ] 

Chia-Ping Tsai commented on HBASE-20575:
----------------------------------------

Are the rubocop warnings related to the patch?

> Fail to config COMPACTION_ENABLED by hbase shell
> ------------------------------------------------
>
>                 Key: HBASE-20575
>                 URL: https://issues.apache.org/jira/browse/HBASE-20575
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.3.2
>            Reporter: Chia-Ping Tsai
>            Assignee: Mingdao Yang
>            Priority: Major
>             Fix For: 1.2.7, 1.3.3
>
>         Attachments: HBASE-20575-branch-1.2.patch, 
> HBASE-20575-branch-1.2.v1.patch, HBASE-20575-branch-1.2.v2.patch, 
> HBASE-20575-branch-1.2.v3.patch
>
>
> HBASE-19340 backported the missing option from 1.4+ to 1.3 and 1.2. However, 
> we made a mistaken to COMPACTION_ENABLED.
> {code:java}
> htd.setCompactionEnabled(JBoolean.valueOf(arg.delete[COMPACTION_ENABLED])) if 
> arg[COMPACTION_ENABLED]{code}
> arg.delete[COMPACTION_ENABLED] should be changed to 
> arg.delete(COMPACTION_ENABLED)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to