You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Manoj Samel <ma...@gmail.com> on 2014/04/18 03:44:44 UTC

snapshotDiff shows only the top directory of the changed tree ...

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 ? Would the Java APIs show the entire tree ?

Thanks,

Re: snapshotDiff shows only the top directory of the changed tree ...

Posted by Manoj Samel <ma...@gmail.com>.
Second attempt.


On Thu, Apr 17, 2014 at 6:44 PM, Manoj Samel <ma...@gmail.com>wrote:

> 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 ? Would the Java APIs show the entire tree ?
>
> Thanks,
>
>
>

Re: snapshotDiff shows only the top directory of the changed tree ...

Posted by Manoj Samel <ma...@gmail.com>.
Second attempt.


On Thu, Apr 17, 2014 at 6:44 PM, Manoj Samel <ma...@gmail.com>wrote:

> 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 ? Would the Java APIs show the entire tree ?
>
> Thanks,
>
>
>

Re: snapshotDiff shows only the top directory of the changed tree ...

Posted by Manoj Samel <ma...@gmail.com>.
Second attempt.


On Thu, Apr 17, 2014 at 6:44 PM, Manoj Samel <ma...@gmail.com>wrote:

> 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 ? Would the Java APIs show the entire tree ?
>
> Thanks,
>
>
>

Re: snapshotDiff shows only the top directory of the changed tree ...

Posted by Manoj Samel <ma...@gmail.com>.
Second attempt.


On Thu, Apr 17, 2014 at 6:44 PM, Manoj Samel <ma...@gmail.com>wrote:

> 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 ? Would the Java APIs show the entire tree ?
>
> Thanks,
>
>
>