hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Samel <manojsamelt...@gmail.com>
Subject HDFS snapshotdiff shows only the top level directory, not the entire tree that was modified
Date Mon, 28 Apr 2014 18:42:05 GMT
Hi,

Following seq is done

hdfs dfs -mkdir /a
take snapshot s_0
hdfs dfs -mkdir -p /a/b/c
hdfs dfs -put foo /a/b/c
take snapshot s_1

Now the command line snapshotdiff between s_0 and s_1 shows just the
addition of directory "b". It should show addition of directory "b/c" as
well as addition of "b/c/foo" as well

Any thoughts ?

If I instead write java program that uses the java API getSnapshotDiffReport,
will it get the entire directory tree?

Thanks,

Mime
View raw message