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

Always use snapshot path as source when invalid snapshot names are used for diff based distcp

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: distcp
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This is a bug reported by Sushmitha Sreenivasan:

      HDFS-8036 makes the diff-based distcp use snapshot path as the source. This should also happen when

      1. invalid snapshot names are provided as distcp parameters thus the diff report computation on the target cluster fails
      2. there is modification happening in the target cluster thus checkNoChange returns false

      In other cases like source and target FS are not DistributedFileSystem, we should throw exceptions.

        Attachments

          Activity

            People

            • Assignee:
              jingzhao Jing Zhao
              Reporter:
              ssreenivasan Sushmitha Sreenivasan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: