It can be done in 2 steps -
- Just create a new Phoenix Table with a different name but same schema as existing Table.
- Use below HBase command that will eventually execute a MR Job to copy the data -
hbase
org.apache.hadoop.hbase.mapreduce.CopyTable --new.name="<Name of new HBase Table>"
"<Name of existing HBase Table>"
Comments
Post a Comment