[
https://issues.apache.org/jira/browse/HDFS-11481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mavin Martin updated HDFS-11481:
--------------------------------
Description:
Successful command:
{code}
#> hdfs snapshotDiff /tmp/dir s1 s2
Difference between snapshot s1 and snapshot s2 under directory /tmp/dir:
M .
+ ./file1.txt
{code}
Unsuccessful command:
{code}
#> hdfs snapshotDiff /.reserved/raw/tmp/dir s1 s2
snapshotDiff: Directory does not exist: /.reserved/raw/tmp/dir
{code}
Prefixing with raw path should run successfully and return same output.
was:
Successful command:
{code}
hdfs snapshotDiff /tmp/dir s1 s2
Difference between snapshot s1 and snapshot s2 under directory /tmp/dir:
M .
+ ./file1.txt
{code}
Unsuccessful command:
{code}
hdfs snapshotDiff /.reserved/raw/tmp/dir s1 s2
snapshotDiff: Directory does not exist: /.reserved/raw/tmp/dir
{code}
Prefixing with raw path should run successfully and return same output.
> hdfs snapshotDiff /.reserved/raw/... fails on snapshottable directories
> -----------------------------------------------------------------------
>
> Key: HDFS-11481
> URL: https://issues.apache.org/jira/browse/HDFS-11481
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Reporter: Mavin Martin
> Priority: Minor
>
> Successful command:
> {code}
> #> hdfs snapshotDiff /tmp/dir s1 s2
> Difference between snapshot s1 and snapshot s2 under directory /tmp/dir:
> M .
> + ./file1.txt
> {code}
> Unsuccessful command:
> {code}
> #> hdfs snapshotDiff /.reserved/raw/tmp/dir s1 s2
> snapshotDiff: Directory does not exist: /.reserved/raw/tmp/dir
> {code}
> Prefixing with raw path should run successfully and return same output.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]