hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Internals of hbase scan
Date Wed, 28 Dec 2016 12:59:34 GMT
You can step through using IDE.

Below is sample stack trace from running a unit test:

ClientSimpleScanner(ClientScanner).loadCache() line: 382
ClientSimpleScanner(ClientScanner).nextWithSyncCache() line: 357
ClientSimpleScanner.next() line: 50
ResultScanner$1.hasNext() line: 54
TestMobCompactor.countMobCells(Table) line: 588
TestMobCompactor.testCompactionWithHFileLink() line: 242

Cheers

On Wed, Dec 28, 2016 at 4:44 AM, Rajeshkumar J <rajeshkumarit8292@gmail.com>
wrote:

> Thanks for ur reply. Whenever I issue ResultScanner.next() can you point me
> the class where will be the control will switch to?
>
> On Wed, Dec 28, 2016 at 6:04 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>
> > You can start from http://hbase.apache.org/book.html#hregion.scans
> >
> > To get to know internals, you should look at the code - in IDE such as
> > Eclipse.
> > Start from StoreScanner and read the classes which reference it.
> >
> > Cheers
> >
> > On Wed, Dec 28, 2016 at 12:59 AM, Rajeshkumar J <
> > rajeshkumarit8292@gmail.com
> > > wrote:
> >
> > > Can anyone point me where I can learn internals of hbase such as scan
> in
> > > depth.
> > >
> >
>

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