hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Samel <manojsamelt...@gmail.com>
Subject Applying delta between two HDFS snapshot using hdfs command
Date Mon, 14 Apr 2014 21:14:39 GMT
Hi,

It seems the only restore from a HDFS snapshot using hdfs command line is
copy snapshot files to a target path.

If the use cases are


0. .... stuff ...

1. Take snapshot s_N

2. Add some files, delete other files

3. Take snapshot s_N+1


then copying s_N+1 to target just copies the newly added file to target, it
does not propagates the deletes between s_N and s_N+1.

How does one apply the full delta between s_N and s_N+1 to target (and not
just additions) ? Is Using Java API the only option or is it possible to
use command line to do it ?

Thanks,

Mime
View raw message