Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Checking major compaction


Copy link to this message
-
RE: Checking major compaction
Ramkrishna.S.Vasudevan 2012-10-18, 09:25
>A simple test would be to just right some 10 rows
I meant to say write some 10 rows.(not right)

Regards
Ram

> -----Original Message-----
> From: Ramkrishna.S.Vasudevan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 18, 2012 2:05 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Checking major compaction
>
> Hi
>
> Yes Kiran you can go thro the logs also.
>
> You will see some logs like
> 'Start major compaction for ..............
> 'Compacting file  ................
> 'Compacting file ................
> And finally 'Completed major/minor compaction.....'
>
> I just don have some exact logs with me right now.  But you can see log
> msgs
> but all comes in debug mode.  So ensure you enable debug mode for your
> logs.
>
> A simple test would be to just right some 10 rows. In between do some 4
> to 5
> flushes.
>
> Just give major_compact(tableName) from the shell.   You can see the
> logs.
> :)
>
> Regards
> Ram
>
> > -----Original Message-----
> > From: kiran [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 18, 2012 12:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Checking major compaction
> >
> > Thanks ram,
> >
> > Is there a way can I check it through region server logs. If it is
> > possible
> > what are the statements that I need to look for ??
> >
> > Thanks
> > Kiran
> >
> > On Thu, Oct 18, 2012 at 11:55 AM, Ramkrishna.S.Vasudevan <
> > [EMAIL PROTECTED]> wrote:
> >
> > > HBASE-6033 does the work that you ask for.  It is currently in
> Trunk
> > > version
> > > of HBase.
> > >
> > > Regards
> > > Ram
> > >
> > > > -----Original Message-----
> > > > From: kiran [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, October 18, 2012 11:43 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Checking major compaction
> > > >
> > > > Hi all,
> > > >
> > > > Is there a way to check if major compaction is running or not on
> a
> > > > table.
> > > >
> > > > --
> > > > Thank you
> > > > Kiran Sarvabhotla
> > > >
> > > > -----Even a correct decision is wrong when it is taken late
> > >
> > >
> >
> >
> > --
> > Thank you
> > Kiran Sarvabhotla
> >
> > -----Even a correct decision is wrong when it is taken late