snapshot restore feature is not implemented yet. Currently you can use
distcp to copy snapshot dir to your new cluster, suppose your hive dir is
/user/hive/, snapshot dir is /user/hive/.snapshot/sn0, you can:
On Thu, Nov 28, 2013 at 9:47 PM, Juan Martin Pampliega <[EMAIL PROTECTED]
> I have read the documentation about HDFS snapshots for hadoop 2 (
> but it is still not clear how do I use this snapshots to restore the data.
> Lets say I have a directory with the data corresponding to a Hive table
> that I want to backup. I take a snapshot today and tomorrow I find out that
> the modifications done to the table/directory after the snapshot are wrong
> and I want to revert the directory to the snapshot state. How do I achieve
> Also, can I extract the snapshot from HDFS and save it in an external
> storage and later use it to restore this directory in a new empty cluster?
> or which is the recommended way to do this?