hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mavin Martin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11481) hdfs snapshotDiff /.reserved/raw/... fails on snapshottable directories
Date Sat, 04 Mar 2017 18:13:46 GMT

     [ https://issues.apache.org/jira/browse/HDFS-11481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mavin Martin updated HDFS-11481:
--------------------------------
    Attachment: HDFS-11481.patch.2

Since many methods changed inside org.apache.hadoop.hdfs.server.namenode.FSDirectory had a
large refactor between 2.6 to 3.0, I wrote my own helper functions for convenience when merging
with trunk.  This makes rolling patch to hadoop 2.6 more simple.  We can clean up and use
shared method in a separate jira that won't be rolled back to 2.6 versions.

> 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
>    Affects Versions: 2.6.0
>            Reporter: Mavin Martin
>            Priority: Minor
>         Attachments: HDFS-11481.patch.1, HDFS-11481.patch.2
>
>
> 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message