hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neelesh <neele...@gmail.com>
Subject Re: Incremental snapshot export
Date Thu, 19 Jan 2017 01:00:54 GMT
Thanks Ted!

On Wed, Jan 18, 2017 at 9:11 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> Currently ExportSnapshot utility doesn't support incremental export.
> Here is the help message for overwrite:
>
>     static final Option OVERWRITE = new Option(null, "overwrite", false,
>
>         "Rewrite the snapshot manifest if already exists.");
>
> Managing dependencies across snapshots may not be trivial (considering
> region split / merge in between snapshots).
>
> If you are interested, you can watch HBASE-14123 where incremental backup /
> restore has solved this problem.
>
> Cheers
>
> On Wed, Jan 18, 2017 at 9:04 AM, Neelesh <neeleshs@gmail.com> wrote:
>
> > Hi,
> >   Does the ExportSnapshot utility incrementally export HFiles ? From the
> > code, it looks like I can specify an overwrite flag to delete and
> recreate
> > the output dir, but there is no control on individual HFiles.  This is on
> > HBase 1.1.2.
> >
> > I was wondering how difficult would it be to extend ExportSnapshot to
> > optionally skip copying HFiles if it already exists, given that HFiles in
> > the context of snapshots are immutable.
> >
> >
> > Thanks!
> > -neelesh
> >
>

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