You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Simon Majou <si...@majou.org> on 2013/06/14 16:39:25 UTC

Slow scan request with basic test ?

Hello,

When doing the basic test after installing, the scan request is really slow
(~5sec). There are no errors in the logs. Is it normal ? Why it is so ?

Simon

Re: Slow scan request with basic test ?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Simon,

Can you please make sure you have you fqdn with your local IP in your hosts
file. And keep localhost to 127.0.0.1.

Also, maybe you will be better to test in a VM instead of cygwin.

JM
Le 2013-06-14 08:37, "Simon Majou" <si...@majou.org> a écrit :

> Yes I have 127.0.0.1       localhost in my /etc/hosts
>
> I run on Windows with cygwin, without any VM.
>
> Nothing special is running on my laptop, CPU & memory are free.
>
> I tracked with tail -f the different log files (master, region, zookeeper)
> while doing the scan, and there is no log written ...
>
>
> Simon
>
>
> On Fri, Jun 14, 2013 at 5:19 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
> > That's not a normal behavior.
> >
> > Have you configured your hosts file? I think you did since it's
> > working fine. Are you running into a VM on your laptop? Or directly on
> > the laptop? Anything else is running at the same time? Also, can you
> > take a look into the logs and see if there is anything displayed?
> >
> > Thanks,
> >
> > JM
> >
> > 2013/6/14 Simon Majou <si...@majou.org>:
> > > Hi,
> > >
> > > I am using the latest stable (0.94.8), I have a i3 laptop with a SSD.
> > >
> > > I am doing the basic test of the documentation :
> > > http://hbase.apache.org/book/quickstart.html#shell_exercises
> > >
> > > hbase(main):003:0> create 'test', 'cf'
> > > 0 row(s) in 1.2200 seconds
> > > hbase(main):003:0> list 'test'
> > > ..
> > > 1 row(s) in 0.0550 seconds
> > > hbase(main):004:0> put 'test', 'row1', 'cf:a', 'value1'
> > > 0 row(s) in 0.0560 seconds
> > > hbase(main):005:0> put 'test', 'row2', 'cf:b', 'value2'
> > > 0 row(s) in 0.0370 seconds
> > > hbase(main):006:0> put 'test', 'row3', 'cf:c', 'value3'
> > > 0 row(s) in 0.0450 seconds
> > >
> > >
> > > Here is what I got :
> > >
> > > create 'test', 'cf'
> > > create 'test', 'cf'
> > > 0 row(s) in 9.1360 seconds
> > >
> > > list 'test'
> > > list 'test'
> > > TABLE
> > > test
> > > 1 row(s) in 0.0280 seconds
> > >
> > > put 'test', 'row1', 'cf:a', 'value1'
> > > put 'test', 'row1', 'cf:a', 'value1'
> > > 0 row(s) in 4.6200 seconds
> > >
> > > put 'test', 'row2', 'cf:b', 'value2'
> > > put 'test', 'row2', 'cf:b', 'value2'
> > > 0 row(s) in 0.0080 seconds
> > >
> > > put 'test', 'row3', 'cf:c', 'value3'
> > > put 'test', 'row3', 'cf:c', 'value3'
> > > 0 row(s) in 0.0060 seconds
> > >
> > > scan 'test'
> > > scan 'test'
> > > ROW  COLUMN+CELL
> > >  row1 column=cf:a, timestamp=1371222264939, value=value1
> > >  row2 column=cf:b, timestamp=1371222269032, value=value2
> > >  row3 column=cf:c, timestamp=1371222275823, value=value3
> > > 3 row(s) in 4.5920 seconds
> > >
> > >
> > > It seems to have some ~4.5s latency, appearing 2x when creating a
> table,
> > > and appearing on the first put and on scans.
> > >
> > > Simon
> > >
> > >
> > > Simon
> > >
> > >
> > > On Fri, Jun 14, 2013 at 5:07 PM, Jean-Marc Spaggiari <
> > > jean-marc@spaggiari.org> wrote:
> > >
> > >> Hi Simon,
> > >>
> > >> Can you please provide more details? Which version are you testing
> > >> with, what is the test you are doing, on what kind of computer this is
> > >> running?
> > >>
> > >> Thanks,
> > >>
> > >> JM
> > >>
> > >> 2013/6/14 Simon Majou <si...@majou.org>:
> > >> > Hello,
> > >> >
> > >> > When doing the basic test after installing, the scan request is
> really
> > >> slow
> > >> > (~5sec). There are no errors in the logs. Is it normal ? Why it is
> so
> > ?
> > >> >
> > >> > Simon
> > >>
> >
>

Re: Slow scan request with basic test ?

Posted by Simon Majou <si...@majou.org>.
Yes I have 127.0.0.1       localhost in my /etc/hosts

I run on Windows with cygwin, without any VM.

Nothing special is running on my laptop, CPU & memory are free.

I tracked with tail -f the different log files (master, region, zookeeper)
while doing the scan, and there is no log written ...


Simon


On Fri, Jun 14, 2013 at 5:19 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> That's not a normal behavior.
>
> Have you configured your hosts file? I think you did since it's
> working fine. Are you running into a VM on your laptop? Or directly on
> the laptop? Anything else is running at the same time? Also, can you
> take a look into the logs and see if there is anything displayed?
>
> Thanks,
>
> JM
>
> 2013/6/14 Simon Majou <si...@majou.org>:
> > Hi,
> >
> > I am using the latest stable (0.94.8), I have a i3 laptop with a SSD.
> >
> > I am doing the basic test of the documentation :
> > http://hbase.apache.org/book/quickstart.html#shell_exercises
> >
> > hbase(main):003:0> create 'test', 'cf'
> > 0 row(s) in 1.2200 seconds
> > hbase(main):003:0> list 'test'
> > ..
> > 1 row(s) in 0.0550 seconds
> > hbase(main):004:0> put 'test', 'row1', 'cf:a', 'value1'
> > 0 row(s) in 0.0560 seconds
> > hbase(main):005:0> put 'test', 'row2', 'cf:b', 'value2'
> > 0 row(s) in 0.0370 seconds
> > hbase(main):006:0> put 'test', 'row3', 'cf:c', 'value3'
> > 0 row(s) in 0.0450 seconds
> >
> >
> > Here is what I got :
> >
> > create 'test', 'cf'
> > create 'test', 'cf'
> > 0 row(s) in 9.1360 seconds
> >
> > list 'test'
> > list 'test'
> > TABLE
> > test
> > 1 row(s) in 0.0280 seconds
> >
> > put 'test', 'row1', 'cf:a', 'value1'
> > put 'test', 'row1', 'cf:a', 'value1'
> > 0 row(s) in 4.6200 seconds
> >
> > put 'test', 'row2', 'cf:b', 'value2'
> > put 'test', 'row2', 'cf:b', 'value2'
> > 0 row(s) in 0.0080 seconds
> >
> > put 'test', 'row3', 'cf:c', 'value3'
> > put 'test', 'row3', 'cf:c', 'value3'
> > 0 row(s) in 0.0060 seconds
> >
> > scan 'test'
> > scan 'test'
> > ROW  COLUMN+CELL
> >  row1 column=cf:a, timestamp=1371222264939, value=value1
> >  row2 column=cf:b, timestamp=1371222269032, value=value2
> >  row3 column=cf:c, timestamp=1371222275823, value=value3
> > 3 row(s) in 4.5920 seconds
> >
> >
> > It seems to have some ~4.5s latency, appearing 2x when creating a table,
> > and appearing on the first put and on scans.
> >
> > Simon
> >
> >
> > Simon
> >
> >
> > On Fri, Jun 14, 2013 at 5:07 PM, Jean-Marc Spaggiari <
> > jean-marc@spaggiari.org> wrote:
> >
> >> Hi Simon,
> >>
> >> Can you please provide more details? Which version are you testing
> >> with, what is the test you are doing, on what kind of computer this is
> >> running?
> >>
> >> Thanks,
> >>
> >> JM
> >>
> >> 2013/6/14 Simon Majou <si...@majou.org>:
> >> > Hello,
> >> >
> >> > When doing the basic test after installing, the scan request is really
> >> slow
> >> > (~5sec). There are no errors in the logs. Is it normal ? Why it is so
> ?
> >> >
> >> > Simon
> >>
>

Re: Slow scan request with basic test ?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
That's not a normal behavior.

Have you configured your hosts file? I think you did since it's
working fine. Are you running into a VM on your laptop? Or directly on
the laptop? Anything else is running at the same time? Also, can you
take a look into the logs and see if there is anything displayed?

Thanks,

JM

2013/6/14 Simon Majou <si...@majou.org>:
> Hi,
>
> I am using the latest stable (0.94.8), I have a i3 laptop with a SSD.
>
> I am doing the basic test of the documentation :
> http://hbase.apache.org/book/quickstart.html#shell_exercises
>
> hbase(main):003:0> create 'test', 'cf'
> 0 row(s) in 1.2200 seconds
> hbase(main):003:0> list 'test'
> ..
> 1 row(s) in 0.0550 seconds
> hbase(main):004:0> put 'test', 'row1', 'cf:a', 'value1'
> 0 row(s) in 0.0560 seconds
> hbase(main):005:0> put 'test', 'row2', 'cf:b', 'value2'
> 0 row(s) in 0.0370 seconds
> hbase(main):006:0> put 'test', 'row3', 'cf:c', 'value3'
> 0 row(s) in 0.0450 seconds
>
>
> Here is what I got :
>
> create 'test', 'cf'
> create 'test', 'cf'
> 0 row(s) in 9.1360 seconds
>
> list 'test'
> list 'test'
> TABLE
> test
> 1 row(s) in 0.0280 seconds
>
> put 'test', 'row1', 'cf:a', 'value1'
> put 'test', 'row1', 'cf:a', 'value1'
> 0 row(s) in 4.6200 seconds
>
> put 'test', 'row2', 'cf:b', 'value2'
> put 'test', 'row2', 'cf:b', 'value2'
> 0 row(s) in 0.0080 seconds
>
> put 'test', 'row3', 'cf:c', 'value3'
> put 'test', 'row3', 'cf:c', 'value3'
> 0 row(s) in 0.0060 seconds
>
> scan 'test'
> scan 'test'
> ROW  COLUMN+CELL
>  row1 column=cf:a, timestamp=1371222264939, value=value1
>  row2 column=cf:b, timestamp=1371222269032, value=value2
>  row3 column=cf:c, timestamp=1371222275823, value=value3
> 3 row(s) in 4.5920 seconds
>
>
> It seems to have some ~4.5s latency, appearing 2x when creating a table,
> and appearing on the first put and on scans.
>
> Simon
>
>
> Simon
>
>
> On Fri, Jun 14, 2013 at 5:07 PM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
>> Hi Simon,
>>
>> Can you please provide more details? Which version are you testing
>> with, what is the test you are doing, on what kind of computer this is
>> running?
>>
>> Thanks,
>>
>> JM
>>
>> 2013/6/14 Simon Majou <si...@majou.org>:
>> > Hello,
>> >
>> > When doing the basic test after installing, the scan request is really
>> slow
>> > (~5sec). There are no errors in the logs. Is it normal ? Why it is so ?
>> >
>> > Simon
>>

Re: Slow scan request with basic test ?

Posted by Simon Majou <si...@majou.org>.
Hi,

I am using the latest stable (0.94.8), I have a i3 laptop with a SSD.

I am doing the basic test of the documentation :
http://hbase.apache.org/book/quickstart.html#shell_exercises

hbase(main):003:0> create 'test', 'cf'
0 row(s) in 1.2200 seconds
hbase(main):003:0> list 'test'
..
1 row(s) in 0.0550 seconds
hbase(main):004:0> put 'test', 'row1', 'cf:a', 'value1'
0 row(s) in 0.0560 seconds
hbase(main):005:0> put 'test', 'row2', 'cf:b', 'value2'
0 row(s) in 0.0370 seconds
hbase(main):006:0> put 'test', 'row3', 'cf:c', 'value3'
0 row(s) in 0.0450 seconds


Here is what I got :

create 'test', 'cf'
create 'test', 'cf'
0 row(s) in 9.1360 seconds

list 'test'
list 'test'
TABLE
test
1 row(s) in 0.0280 seconds

put 'test', 'row1', 'cf:a', 'value1'
put 'test', 'row1', 'cf:a', 'value1'
0 row(s) in 4.6200 seconds

put 'test', 'row2', 'cf:b', 'value2'
put 'test', 'row2', 'cf:b', 'value2'
0 row(s) in 0.0080 seconds

put 'test', 'row3', 'cf:c', 'value3'
put 'test', 'row3', 'cf:c', 'value3'
0 row(s) in 0.0060 seconds

scan 'test'
scan 'test'
ROW  COLUMN+CELL
 row1 column=cf:a, timestamp=1371222264939, value=value1
 row2 column=cf:b, timestamp=1371222269032, value=value2
 row3 column=cf:c, timestamp=1371222275823, value=value3
3 row(s) in 4.5920 seconds


It seems to have some ~4.5s latency, appearing 2x when creating a table,
and appearing on the first put and on scans.

Simon


Simon


On Fri, Jun 14, 2013 at 5:07 PM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:

> Hi Simon,
>
> Can you please provide more details? Which version are you testing
> with, what is the test you are doing, on what kind of computer this is
> running?
>
> Thanks,
>
> JM
>
> 2013/6/14 Simon Majou <si...@majou.org>:
> > Hello,
> >
> > When doing the basic test after installing, the scan request is really
> slow
> > (~5sec). There are no errors in the logs. Is it normal ? Why it is so ?
> >
> > Simon
>

Re: Slow scan request with basic test ?

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi Simon,

Can you please provide more details? Which version are you testing
with, what is the test you are doing, on what kind of computer this is
running?

Thanks,

JM

2013/6/14 Simon Majou <si...@majou.org>:
> Hello,
>
> When doing the basic test after installing, the scan request is really slow
> (~5sec). There are no errors in the logs. Is it normal ? Why it is so ?
>
> Simon