The directory layout is changed, but easy to fix by hand.

94 path is /hbase/.archive/TABLE_NAME -> 96 path is
/hbase/archive/data/TABLE_NAME
94 table info is in .hbase-snapshot/NAME/.tableinfo.xyz -> 96 table info is
in .hbase-snapshot/NAME/.tableinfo/tableinfo.xyz

Matteo



On Fri, Mar 21, 2014 at 4:27 PM, Brian Jeltema <
brian.jelt...@digitalenvoy.net> wrote:

> Exporting across versions was why I tried webhdfs. I have a cluster
> running HBase 0.94 and wanted to export a
> table to a different cluster running HBase 0.96. I got the export to work,
> but attempting to
> do a restore_snapshot results in:
>
>     TableInfoMissingException: No table descriptor file
>
> so I assume snapshot are not compatible between versions. Is there any way
> to copy the
> table from the old cluster to the new one?
>
> Brian
>
> > Also Matteo, just like distcp, one advantage of this (using webhdfs while
> > copying) could also be that even if the versions are not same, we can
> still
> > copy?
> >
> > Regards,
> > Shahab
> >
> >
> > On Fri, Mar 21, 2014 at 8:14 AM, Matteo Bertozzi <
> theo.berto...@gmail.com>wrote:
> >
> >> ExportSnapshot uses the FileSystem API
> >> so you'll probably be able to say: -copy-to: webhdfs://host/path
> >>
> >> Matteo
> >>
> >>
> >>
> >> On Fri, Mar 21, 2014 at 12:09 PM, Brian Jeltema <
> >> brian.jelt...@digitalenvoy.net> wrote:
> >>
> >>> Is it possible to use webhdfs to export a snapshot to another cluster?
> If
> >>> so,
> >>> what would the command look like?
> >>>
> >>> TIA
> >>>
> >>> Brian
> >>>
> >>
>
>

Reply via email to