I have a table in hbase which contain a huge amount of data I want to take the back of the table so in this situation which is good
1--Copy command to take the back up of the table 2--Take the snapshot of that table
And also please explain the internal mechanism of snapshot Is it simply renaming the table?
Regards Amit
snapshot is best.
Prior to version 0.94.6, the only way to backup or to clone a table is to use CopyTable/ExportTable, or to copy all the hfiles in HDFS after disabling the table. The disadvantages of these methods are that you can degrade region server performance (Copy/Export Table) or you need to disable the table, that means no reads or writes; and this is usually unacceptable.
Also, see Snapshots+and+Repeatable+reads+for+HBase+Tables
Snapshot Internals