hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈加俊 <cjjvict...@gmail.com>
Subject Re: How to copy HTable from one cluster to another cluster ?
Date Thu, 31 Mar 2011 01:48:04 GMT
Step by follows ,Is it ok?


   1. bin/hadoop fs -copyToLocal
   2. bin/hadoop fs -copyFromLocal
   3. bin/hbase org.jruby.Main bin/add_table.rb

Any other solution ?

2011/3/31 Jean-Daniel Cryans <jdcryans@apache.org>

> Put your data on hard drives, ship them to the other data center?
>
> On Wed, Mar 30, 2011 at 12:44 AM, 陈加俊 <cjjvictory@gmail.com> wrote:
> > My cluster 1 is in shanghai and cluster 2 is in beijing. So the cluster 1
> > can't see the cluster 2.
> >
> > any hints?
> >
> > 2011/3/10 shixing <paradisehit@gmail.com>
> >
> >> Because the distcp's per map runs long time than the
> mapred.task.timeout,
> >> so
> >> you can change the value in the hadoop-site.xml to a large num in
> >> milliseconds.
> >>
> >> On Thu, Mar 10, 2011 at 1:14 PM, 陈加俊 <cjjvictory@gmail.com> wrote:
> >>
> >> > Thank you I used HBase-0.20.6.
> >> >
> >> > On Thu, Mar 10, 2011 at 1:26 AM, Suraj Varma <svarma.ng@gmail.com>
> >> wrote:
> >> >
> >> > > What HBase version are you on?
> >> > > If you are on 0.90+ there is a Copy Table MR job that would do this
> for
> >> > > you.
> >> > >
> >> > >
> >> >
> >>
> http://hbase.apache.org/docs/current/api/org/apache/hadoop/hbase/mapreduce/CopyTable.html
> >> > > --Suraj
> >> > >
> >> > > On Wed, Mar 9, 2011 at 2:27 AM, 陈加俊 <cjjvictory@gmail.com>
wrote:
> >> > >
> >> > > > How to copy HTable from one cluster to another cluster ?
> >> > > >
> >> > > > The table is very big .
> >> > > >
> >> > > > --
> >> > > > Thanks & Best regards
> >> > > > jiajun
> >> > > >
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Thanks & Best regards
> >> > jiajun
> >> >
> >>
> >>
> >>
> >> --
> >> Best wishes!
> >> My Friend~
> >>
> >
> >
> >
> > --
> > Thanks & Best regards
> > jiajun
> >
>



-- 
Thanks & Best regards
jiajun

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