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
w...@us.ibm.com; 914-945-4386



From:   Ted Yu <yuzhih...@gmail.com>
To:     user@hbase.apache.org, 
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 <w...@us.ibm.com> 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

Reply via email to