Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> copy table AND descriptor


+
Wei Tan 2013-01-29, 21:54
+
Ted Yu 2013-01-29, 22:00
Copy link to this message
-
Re: copy table AND descriptor
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