hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OM PARKASH Nain <mr.omparkashn...@gmail.com>
Subject Re: Hbase import/export change number of rows
Date Tue, 22 Sep 2015 15:35:48 GMT
I using two methods for row count:

hbase shell:

count "Table1"

another is:

 hbase org.apache.hadoop.hbase.mapreduce.RowCounter "Table1"

Both give same number of row but export have different number of rows.

  hbase org.apache.hadoop.hbase.mapreduce.Export "Table1" "hdfs path"




On Tue, Sep 22, 2015 at 5:33 PM, OM PARKASH Nain <mr.omparkashnain@gmail.com
> wrote:

> I am using Hbase export using command.
>
>   hbase org.apache.hadoop.hbase.mapreduce.Export "Table1" "hdfs path"
>
> Then I use import command from HDFS to Hbase Table;
>
> hbase org.apache.hadoop.hbase.mapreduce.Import "hdfs path" "Table2"
>
> Then I count number of row in both tables, I found mismatch number of rows
>
> Table1:8301 Table2:8032
>
> Please define what goes wrong with my system.
>

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