You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Trong Tran <tr...@gmail.com> on 2009/05/04 06:37:17 UTC
How to get all rows ID from HBase
Hi all,
I want to get all rows key from HBase and save in a text file on
Hadoop DFS, please for me solutions.
Thx
Re: How to get all rows ID from HBase
Posted by Lars George <la...@worldlingo.com>.
Hi Trong Tran,
You have a couple of choices, either use the HBase shell or a program to
do that. There you have another two choices, either write a small Java
etc. application using one of the many ways to talk to the HBase API to
scan the table you need. Or you can write a MapReduce job that does this
for you. You can start with the latter by reading into the samples
provided here:
http://hadoop.apache.org/hbase/docs/current/api/org/apache/hadoop/hbase/mapred/package-summary.html
Regards,
Lars
Trong Tran wrote:
> Hi all,
>
> I want to get all rows key from HBase and save in a text file on
> Hadoop DFS, please for me solutions.
>
> Thx
>
>