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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • distcp
    • None
    • Reviewed

    Description

      This is a bug reported by ssreenivasan:

      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

        1. HDFS-8151.000.patch
          4 kB
          Jing Zhao

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: