Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4759

snapshotDiff of two invalid snapshots but with same name returns success

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      snapshotDiff of two invalid snapshots which have the same names returns a success.

      $ hadoop dfs -ls /user/foo/hdfs-snapshots/.snapshot
      Found 1 items
      drwx------ - foo foo 0 2013-04-26 00:53 /user/foo/hdfs-snapshots/.snapshot/s1

      $ hadoop snapshotDiff /user/foo/hdfs-snapshots invalid invalid
      Difference between snapshot invalid and snapshot invalid under directory /user/foo/hdfs-snapshots:

      -bash-4.1$ echo $?
      0

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jing Zhao
            Reporter:
            Ramya Sunil
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development