hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kovyrin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2331) [shell] count command needs a way to specify scan caching
Date Tue, 16 Mar 2010 19:10:27 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Alexey Kovyrin updated HBASE-2331:

    Attachment: HBASE-2331.patch

New count command help:
          Count the number of rows in a table. This operation may take a LONG
          time (Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount' to run a
          counting mapreduce job). Current count is shown every 1000 rows by
          default. Count interval may be optionally specified. Scan caching
          is enabled on count scans by default. Default cache size is 10 rows.
          If your rows are small in size, you may want to increase this
          parameter. Examples:

          hbase> count 't1'
          hbase> count 't1', INTERVAL => 100000
          hbase> count 't1', CACHE => 1000
          hbase> count 't1', INTERVAL => 10, CACHE => 1000

> [shell] count command needs a way to specify scan caching
> ---------------------------------------------------------
>                 Key: HBASE-2331
>                 URL: https://issues.apache.org/jira/browse/HBASE-2331
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.21.0
>            Reporter: Alexey Kovyrin
>            Assignee: Alexey Kovyrin
>            Priority: Minor
>             Fix For: 0.21.0
>         Attachments: HBASE-2331.patch
> Hbase shell count command needs a way to specify scan caching. Default value of 10 is
really slow, but should be kept as low for clients with huge rows.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message