Re: Merge and HMerge

2017-01-18 Thread Apekshit Sharma
Master run the merge (via > AMv2)? > > >> > > >> If you remove the util.Merge tool, how then does an operator ask for a > > >> merge in its absence? > > >> > > >> Thanks Stephen > > >> > > >> S > > >>

Re: Merge and HMerge

2017-01-16 Thread Stack
phen > >> > >> S > >> > >> > >>> Please let me know whether you have objection. > >>> > >>> Thanks > >>> Stephen > >>> > >>> PS. I could deprecated HMerge code if anyone is really using it. It >

Re: Merge and HMerge

2017-01-14 Thread Lars George
have objection. >>> >>> Thanks >>> Stephen >>> >>> PS. I could deprecated HMerge code if anyone is really using it. It has >>> its own logic and standalone (supposed to dangerously work offline and >>> merge more than 2

Re: Merge and HMerge

2017-01-14 Thread Stephen Jiang
e than 2 regions - the util.Merge and shell not support these > > functionality for now). > > > > On Wed, Nov 16, 2016 at 11:04 AM, Enis Söztutar <enis@gmail.com> > > wrote: > > > > > @Appy what is not clear from above? > > > >

Re: Merge and HMerge

2017-01-13 Thread Stack
functionality for now). > > On Wed, Nov 16, 2016 at 11:04 AM, Enis Söztutar <enis@gmail.com> > wrote: > > > @Appy what is not clear from above? > > > > I think we should get rid of both Merge and HMerge. > > > > We should not have any tool which w

Re: Merge and HMerge

2017-01-13 Thread Stephen Jiang
wrote: > @Appy what is not clear from above? > > I think we should get rid of both Merge and HMerge. > > We should not have any tool which will work in offline mode by going over > the HDFS data. Seems very brittle to be broken when things get changed. > Only use case I can t

Re: Merge and HMerge

2016-11-16 Thread Enis Söztutar
@Appy what is not clear from above? I think we should get rid of both Merge and HMerge. We should not have any tool which will work in offline mode by going over the HDFS data. Seems very brittle to be broken when things get changed. Only use case I can think of is that somehow you end up

Re: Merge and HMerge

2016-11-16 Thread Apekshit Sharma
bq. HMerge can merge multiple regions by going over the list of regions and checking their sizes. bq. But both of these tools (Merge and HMerge) are very dangerous I came across HMerge and it looks like dead code. Isn't referenced from anywhere except one test. (This is what lars also pointed out

Re: Merge and HMerge

2016-09-28 Thread Enis Söztutar
Merge has very limited usability singe it can do a single merge and can only run when HBase is offline. HMerge can merge multiple regions by going over the list of regions and checking their sizes. And of course we have the "supported" online merge which is the shell command.

Re: Merge and HMerge

2016-09-28 Thread Ted Yu
Deprecating HMerge is fine. On Wed, Sep 28, 2016 at 7:32 AM, Lars George <lars.geo...@gmail.com> wrote: > Hey, > > Sorry to resurrect this old thread, but working on the book update, I > came across the same today, i.e. we have Merge and HMerge. I tried and > Merge works

Re: Merge and HMerge

2016-09-28 Thread Lars George
com> wrote: > Hey, > > Sorry to resurrect this old thread, but working on the book update, I > came across the same today, i.e. we have Merge and HMerge. I tried and > Merge works fine now. It is also the only one of the two flagged as > being a tool. Should HMerge be removed? At leas

Re: Merge and HMerge

2016-09-28 Thread Lars George
Hey, Sorry to resurrect this old thread, but working on the book update, I came across the same today, i.e. we have Merge and HMerge. I tried and Merge works fine now. It is also the only one of the two flagged as being a tool. Should HMerge be removed? At least deprecated? Cheers, Lars On Thu

Re: Merge and HMerge

2011-07-06 Thread Stack
. HMerge can merge regions of tables that are disabled. It also merges all that qualify, i.e. where the merged region is less than or equal of half the configured max file size. Merge on the other hand does have a main(), so can be invoked: $ hbase org.apache.hadoop.hbase.util.Merge Usage: bin

Re: Merge and HMerge

2011-07-06 Thread Ted Yu
() functions... and no one does that but the unit test. But it would be good to have this on the CLI and shell as a command (and in the shell maybe with a confirmation message?), but it is not available AFAIK. HMerge can merge regions of tables that are disabled. It also merges all

Re: Merge and HMerge

2011-07-03 Thread Lars George
test. But it would be good to have this on the CLI and shell as a command (and in the shell maybe with a confirmation message?), but it is not available AFAIK. HMerge can merge regions of tables that are disabled. It also merges all that qualify, i.e. where the merged region is less than

Merge and HMerge

2011-07-02 Thread Lars George
with a confirmation message?), but it is not available AFAIK. HMerge can merge regions of tables that are disabled. It also merges all that qualify, i.e. where the merged region is less than or equal of half the configured max file size. Merge on the other hand does have a main(), so can be invoked

Re: Merge and HMerge

2011-07-02 Thread Ted Yu
test. But it would be good to have this on the CLI and shell as a command (and in the shell maybe with a confirmation message?), but it is not available AFAIK. HMerge can merge regions of tables that are disabled. It also merges all that qualify, i.e. where the merged region is less than

Re: Merge and HMerge

2011-07-02 Thread Ted Yu
maybe with a confirmation message?), but it is not available AFAIK. HMerge can merge regions of tables that are disabled. It also merges all that qualify, i.e. where the merged region is less than or equal of half the configured max file size. Merge on the other hand does have a main(), so can