hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15641) Shell "alter" should do a single modifyTable operation
Date Thu, 21 Apr 2016 15:48:25 GMT

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

Ted Yu commented on HBASE-15641:
--------------------------------

Looks like a patch for branch-1 is needed:

6 out of 6 hunks FAILED -- saving rejects to file hbase-shell/src/main/ruby/hbase/admin.rb.rej

@Matt:
Can you attach patch for branch-1 ?

Thanks

> Shell "alter" should do a single modifyTable operation
> ------------------------------------------------------
>
>                 Key: HBASE-15641
>                 URL: https://issues.apache.org/jira/browse/HBASE-15641
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Gary Helmling
>            Assignee: Matt Warhaftig
>             Fix For: 2.0.0
>
>         Attachments: hbase-15641-v1.patch
>
>
> When performing an "alter" on multiple column families in a table, then shell will perform
a separate {{Admin.modifyColumn()}} call for each column family being modified, with all of
the table regions being bulk-reopened each time.  It would be much better to simply apply
all the changes to the table descriptor, then do a single call to {{Admin.modifyTable()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message