You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mikhail Antonov (JIRA)" <ji...@apache.org> on 2015/09/21 21:07:04 UTC

[jira] [Updated] (HBASE-14367) Add normalization support to shell

     [ https://issues.apache.org/jira/browse/HBASE-14367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Antonov updated HBASE-14367:
------------------------------------
    Attachment: HBASE-14367.patch

Here's patch, tested on my small test rig (3 virtual boxes). Since I tried to provide the same kind of tooling as balancer does, this entailed ruby scripts changes, protos/rpc changes, new stuff in master rpc services etc, as well as new ZK tracker :( so sorry for the size of the patch. And for this piece with setting the normalization_enabled on/off flag for the table from shell - I tested that on my cluster, it works now, though I still see the warning about unknown argument, but same warning is given if I try to disable compaction for the table, for example, so that unrelated. Let me know what do you think?

I'm thinking if I need to rework part of it to allow running normalization on a specific table on the shell.

Also seems to be  unnecessary and could be improved is that changing normalization on/off for the table involves rewriting table descriptor, which in the current implementation entails region re-assignment for the whole table (??), just as with other 'alter table' subcommands.

> Add normalization support to shell
> ----------------------------------
>
>                 Key: HBASE-14367
>                 URL: https://issues.apache.org/jira/browse/HBASE-14367
>             Project: HBase
>          Issue Type: Bug
>          Components: 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.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)