|
|
-
copy table AND descriptor
Wei Tan 2013-01-29, 21:54
Hi I have a table in cluster 1 with quite lengthy metadata (aka, descriptor). How can I replicate the data as well as descriptor to another table? CopyTable, Export/Import does not handle table descriptor.
Thanks, Wei
-
Re: copy table AND descriptor
Ted Yu 2013-01-29, 22:00
Which version of HBase are you using ?
Have you tried using 'describe' shell command ?
Thanks
On Tue, Jan 29, 2013 at 1:54 PM, Wei Tan <[EMAIL PROTECTED]> wrote:
> Hi I have a table in cluster 1 with quite lengthy metadata (aka, > descriptor). How can I replicate the data as well as descriptor to another > table? > CopyTable, Export/Import does not handle table descriptor. > > Thanks, > Wei
-
Re: copy table AND descriptor
Wei Tan 2013-01-30, 03:58
Hi Ted, Thanks for your remind. I made it in two steps:
1. write a java problem to create a table using original table's descriptor. 2. use ./bin/hbase org.apache.hadoop.hbase.mapreduce.CopyTable to copy the data
Best Regards, Wei
Wei Tan Research Staff Member IBM T. J. Watson Research Center Yorktown Heights, NY 10598 [EMAIL PROTECTED]; 914-945-4386
From: Ted Yu <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], Date: 01/29/2013 05:01 PM Subject: Re: copy table AND descriptor
Which version of HBase are you using ?
Have you tried using 'describe' shell command ?
Thanks
On Tue, Jan 29, 2013 at 1:54 PM, Wei Tan <[EMAIL PROTECTED]> wrote:
> Hi I have a table in cluster 1 with quite lengthy metadata (aka, > descriptor). How can I replicate the data as well as descriptor to another > table? > CopyTable, Export/Import does not handle table descriptor. > > Thanks, > Wei
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext