|
|
-
Howto CopyTable from 0.90 to 0.92 ?
Eran Kutner 2012-06-27, 13:02
Hi, I can't figure out what to put in the rs.class and rs.impl in order to get CopyTable to copy from a 0.90 cluster to 0.92. Also, how should I reference the other cluster JAR? should I add it to the classpath?
Thanks.
-eran
+
Eran Kutner 2012-06-27, 13:02
-
Re: Howto CopyTable from 0.90 to 0.92 ?
Jean-Daniel Cryans 2012-06-27, 18:07
It's not a matter of changing rs.class and rs.impl, it's actually the same here. The difference is that the RPC protocol changed so it's not possible to copy between those versions. CopyTable just uses the TableOuputFormat which is an HBase client.
You need to do an Export to dump the data on HDFS, distcp if needed, then run an Import.
Hope this helps,
J-D
On Wed, Jun 27, 2012 at 6:02 AM, Eran Kutner <[EMAIL PROTECTED]> wrote: > Hi, > I can't figure out what to put in the rs.class and rs.impl in order to get > CopyTable to copy from a 0.90 cluster to 0.92. > Also, how should I reference the other cluster JAR? should I add it to the > classpath? > > Thanks. > > -eran
+
Jean-Daniel Cryans 2012-06-27, 18:07
-
Re: Howto CopyTable from 0.90 to 0.92 ?
Eran Kutner 2012-06-27, 18:17
Thanks J-D. It does help, I've been pulling my hair out trying to figure out what am I doing wrong.
-eran
On Wed, Jun 27, 2012 at 9:07 PM, Jean-Daniel Cryans <[EMAIL PROTECTED]>wrote:
> It's not a matter of changing rs.class and rs.impl, it's actually the > same here. The difference is that the RPC protocol changed so it's not > possible to copy between those versions. CopyTable just uses the > TableOuputFormat which is an HBase client. > > You need to do an Export to dump the data on HDFS, distcp if needed, > then run an Import. > > Hope this helps, > > J-D > > On Wed, Jun 27, 2012 at 6:02 AM, Eran Kutner <[EMAIL PROTECTED]> wrote: > > Hi, > > I can't figure out what to put in the rs.class and rs.impl in order to > get > > CopyTable to copy from a 0.90 cluster to 0.92. > > Also, how should I reference the other cluster JAR? should I add it to > the > > classpath? > > > > Thanks. > > > > -eran >
+
Eran Kutner 2012-06-27, 18:17
|
|