hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase ExportSnapshot
Date Mon, 02 Dec 2013 17:26:55 GMT
Can you pastebin master log during operation #2 ?

There have been at least two fixes since 0.94.10, listed below.
It would be nice if you can verify this behavior using 0.94.14

Cheers

r1515967 | mbertozzi | 2013-08-20 13:49:38 -0700 (Tue, 20 Aug 2013) | 1 line

HBASE-8760 possible loss of data in snapshot taken after region split
------------------------------------------------------------------------
r1507792 | mbertozzi | 2013-07-28 05:17:39 -0700 (Sun, 28 Jul 2013) | 1 line

HBASE-9060 ExportSnapshot job fails if target path contains percentage
character (Jerry He)


On Mon, Dec 2, 2013 at 9:19 AM, oc tsdb <oc.tsdb@gmail.com> wrote:

> Hi,
>
> We have cluster with 4 data nodes and HBase version is 0.94.10.
>
> We have created snapshot for all hbase tables and trying to export snapshot
> in two ways.
>
> option 1.Export snapshot into same cluster hdfs
>
>  hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot
>  hbase_tbl_snapshot_name -copy-to   *hdfs:/hbase_backup *-mappers 16;
>
> Here we are getting full data ( .archive + .hbase-snapshot) exported to
> hdfs:/hbase_backup
>
> option 2.Export snapshot to local filesystem
> command :
> hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot
>  hbase_tbl_snapshot_name -copy-to   *file:///tmp/hbase_backup* -mappers 16;
>
> But with option 2 we only getting .hbase-snapshot exported to local dir
> (/tmp/hbase_backup) but .archive files are not exported.It is expected
> behavior or something wrong in option 2.
>
> Thanks
> OC
>

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