hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Offline merge tool question
Date Wed, 14 Aug 2013 05:32:52 GMT
On Tue, Aug 13, 2013 at 5:17 PM, Bryan Beaudreault <bbeaudreault@hubspot.com
> wrote:

> I'm running cdh4.2 hbase 0.94.2, and am looking to merge some regions in a
> table.  Looking at Merge.java, it seems to require that the entire cluster
> be offline.  However, I also notice an HMerge.java which doesn't appear to
> do the same validation.
>
> Two questions:
>
> 1) Why does Merge.java validate the entire cluster is down, as opposed to
> just the single table being disabled?
>
>
It is dumb/simple/old.



> 2) Could I write my own tool that uses HMerge, so as to merge regions in
> the disabled table without bringing the whole cluster down?
>
>
Yes.  You can't do much harm if table is offline.

St.Ack

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message