hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Einspanjer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-1621) merge tool should work on online cluster, but disabled table
Date Wed, 07 Sep 2011 15:18:10 GMT

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

Daniel Einspanjer commented on HBASE-1621:
------------------------------------------

@J-D

I noticed a potential small problem with the script while reading through it.
At the beginning, it calls HBaseAdmin.balanceSwitch(false), but after the initial scan, there
are two Trollop:die statements that would prevent the balancer from being turned back on.

I think that you need to test the two break conditions in an if block, and then turn the balancer
back on before you call die.

> merge tool should work on online cluster, but disabled table
> ------------------------------------------------------------
>
>                 Key: HBASE-1621
>                 URL: https://issues.apache.org/jira/browse/HBASE-1621
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ryan rawson
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.92.0
>
>         Attachments: 1621-trunk.txt, HBASE-1621-v2.patch, HBASE-1621.patch, hbase-onlinemerge.patch,
online_merge.rb
>
>
> taking down the entire cluster to merge 2 regions is a pain, i dont see why the table
or regions specifically couldnt be taken offline, then merged then brought back up.
> this might need a new API to the regionservers so they can take direction from not just
the master.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message