You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by ch huang <ju...@gmail.com> on 2014/10/17 07:48:06 UTC
issue about migrate hbase table from 0.94 to 0.98
hi,maillist:
how can do do data migrate from hbase 0.94 to 0.96 ,copy file from old
hadoop cluster to new hadoop cluster is OK ,any one can help me?
Re: issue about migrate hbase table from 0.94 to 0.98
Posted by Nick Dimiduk <nd...@gmail.com>.
To be clear, you have two clusters, and you're interested in moving a
table's data but not necessarily it's operational load? There is probably a
migration path involving table snapshots, though I've not tried it myself.
It would look something like the following:
- major compact the table to ensure it's data files are all HFileV2
- create a snapshot of the table
- export the snapshot to a path on HDFS
- copy the export to the new cluster, probably with distcp or webhdfs
- import the snapshot into HBase on the new cluster
I have limited experience with the snapshot features, so I may be missing
some steps.
Good luck,
Nick
On Friday, October 17, 2014, ch huang <ju...@gmail.com> wrote:
> thanks,but i think u are not understand , i want to move hbase table from
> one cluster to another cluster ,they have different hbase version ,i am not
> want to upgrade my cluster!
>
>
> On Fri, Oct 17, 2014 at 9:04 PM, Ted Yu <yuzhihong@gmail.com
> <javascript:;>> wrote:
>
> > See https://issues.apache.org/jira/browse/HBASE-9360
> >
> > On Oct 17, 2014, at 1:59 AM, ch huang <justlooks@gmail.com
> <javascript:;>> wrote:
> >
> > > thanks for reply ,i want to copy some selected table , not whole
> cluster
> > ,
> > >
> > > On Fri, Oct 17, 2014 at 4:46 PM, Ted Yu <yuzhihong@gmail.com
> <javascript:;>> wrote:
> > >
> > >> Can you give a bit more detail ?
> > >>
> > >> Are you migrating whole cluster or just selected tables ?
> > >>
> > >> Cheers
> > >>
> > >> On Oct 16, 2014, at 10:48 PM, ch huang <justlooks@gmail.com
> <javascript:;>> wrote:
> > >>
> > >>> hi,maillist:
> > >>>
> > >>> how can do do data migrate from hbase 0.94 to 0.96 ,copy file from
> old
> > >>> hadoop cluster to new hadoop cluster is OK ,any one can help me?
> > >>
> >
>
Re: issue about migrate hbase table from 0.94 to 0.98
Posted by ch huang <ju...@gmail.com>.
thanks,but i think u are not understand , i want to move hbase table from
one cluster to another cluster ,they have different hbase version ,i am not
want to upgrade my cluster!
On Fri, Oct 17, 2014 at 9:04 PM, Ted Yu <yu...@gmail.com> wrote:
> See https://issues.apache.org/jira/browse/HBASE-9360
>
> On Oct 17, 2014, at 1:59 AM, ch huang <ju...@gmail.com> wrote:
>
> > thanks for reply ,i want to copy some selected table , not whole cluster
> ,
> >
> > On Fri, Oct 17, 2014 at 4:46 PM, Ted Yu <yu...@gmail.com> wrote:
> >
> >> Can you give a bit more detail ?
> >>
> >> Are you migrating whole cluster or just selected tables ?
> >>
> >> Cheers
> >>
> >> On Oct 16, 2014, at 10:48 PM, ch huang <ju...@gmail.com> wrote:
> >>
> >>> hi,maillist:
> >>>
> >>> how can do do data migrate from hbase 0.94 to 0.96 ,copy file from old
> >>> hadoop cluster to new hadoop cluster is OK ,any one can help me?
> >>
>
Re: issue about migrate hbase table from 0.94 to 0.98
Posted by Ted Yu <yu...@gmail.com>.
See https://issues.apache.org/jira/browse/HBASE-9360
On Oct 17, 2014, at 1:59 AM, ch huang <ju...@gmail.com> wrote:
> thanks for reply ,i want to copy some selected table , not whole cluster ,
>
> On Fri, Oct 17, 2014 at 4:46 PM, Ted Yu <yu...@gmail.com> wrote:
>
>> Can you give a bit more detail ?
>>
>> Are you migrating whole cluster or just selected tables ?
>>
>> Cheers
>>
>> On Oct 16, 2014, at 10:48 PM, ch huang <ju...@gmail.com> wrote:
>>
>>> hi,maillist:
>>>
>>> how can do do data migrate from hbase 0.94 to 0.96 ,copy file from old
>>> hadoop cluster to new hadoop cluster is OK ,any one can help me?
>>
Re: issue about migrate hbase table from 0.94 to 0.98
Posted by ch huang <ju...@gmail.com>.
thanks for reply ,i want to copy some selected table , not whole cluster ,
On Fri, Oct 17, 2014 at 4:46 PM, Ted Yu <yu...@gmail.com> wrote:
> Can you give a bit more detail ?
>
> Are you migrating whole cluster or just selected tables ?
>
> Cheers
>
> On Oct 16, 2014, at 10:48 PM, ch huang <ju...@gmail.com> wrote:
>
> > hi,maillist:
> >
> > how can do do data migrate from hbase 0.94 to 0.96 ,copy file from old
> > hadoop cluster to new hadoop cluster is OK ,any one can help me?
>
Re: issue about migrate hbase table from 0.94 to 0.98
Posted by Ted Yu <yu...@gmail.com>.
Can you give a bit more detail ?
Are you migrating whole cluster or just selected tables ?
Cheers
On Oct 16, 2014, at 10:48 PM, ch huang <ju...@gmail.com> wrote:
> hi,maillist:
>
> how can do do data migrate from hbase 0.94 to 0.96 ,copy file from old
> hadoop cluster to new hadoop cluster is OK ,any one can help me?