hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkrishna vasudevan <ramkrishna.s.vasude...@gmail.com>
Subject Re: What does this line mean in hbase shell?
Date Tue, 11 Feb 2014 09:25:20 GMT
Hi

It describes the (x) rows describes the number of items retrieved to
display in the output and xxxx seconds says the time taken for displaying
it.
Incase of puts as there are not rows to be retrieved and displayed the (x)
rows remains 0, but the xxx seconds says the time it took for doing that
operation. If the time calculation is accurate or not am not sure on that.
 Need to see how it is calculated.
Does this answer you question?

Regards
Ram


On Tue, Feb 11, 2014 at 2:48 PM, Tao Xiao <xiaotao.cs.nju@gmail.com> wrote:

> I executed some commands in hbase's shell and got the following results:
>
> hbase(main):014:0> list
> TABLE
>
> testtable
>
> 1 row(s) in 0.0180 seconds          ### what does "1 row(s)" mean?
>
> hbase(main):015:0> count 'testtable'
> Current count: 1000, row: row-999
>
> 1000 row(s) in 0.3300 seconds     ### indeed  we have 1000 rows in
> testtable
>
> hbase(main):017:0> create 'newtable', 'cf'
> 0 row(s) in 1.1450 seconds
>
> hbase(main):018:0> put 'newtable', 'row1', 'cf:A', 'value1'
> 0 row(s) in 0.0120 seconds          ### what does "0 row(s)" mean?
>
> hbase(main):019:0> put 'newtable', 'row2', 'cf:A', 'value2'
> 0 row(s) in 0.0080 seconds
>
> we can see that the shell printed results ending with "xx row(s) in xxx
> seconds", what does this mean ?
>

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