Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11481

hdfs snapshotDiff /.reserved/raw/... fails on snapshottable directories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      Successful command:

      #> hdfs snapshotDiff /tmp/dir s1 s2
      Difference between snapshot s1 and snapshot s2 under directory /tmp/dir:
      M       .
      +       ./file1.txt
      

      Unsuccessful command:

      #> hdfs snapshotDiff /.reserved/raw/tmp/dir s1 s2
      snapshotDiff: Directory does not exist: /.reserved/raw/tmp/dir
      

      Prefixing with raw path should run successfully and return same output.

        Attachments

        1. HDFS-11481.001.patch
          5 kB
          Mavin Martin
        2. HDFS-11481.002.patch
          4 kB
          Mavin Martin
        3. HDFS-11481-branch-2.6.0.001.patch
          5 kB
          Mavin Martin

          Issue Links

            Activity

              People

              • Assignee:
                mavinmartin@gmail.com Mavin Martin
                Reporter:
                mavinmartin@gmail.com Mavin Martin
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: