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

Distcp need to enforce the order of snapshot names passed to -diff

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • distcp
    • None
    • Reviewed

    Description

      This jira is to propose adding a check to distcp, when -diff s1 s2 is passed, we need to ensure that s2 is newer than s1, otherwise, abort with a informative error message.

      This is the result of my offline discussion with jingzhao on HDFS-9820. Thanks Jing.

      Attachments

        1. HDFS-10313.001.patch
          4 kB
          Yiqun Lin
        2. HDFS-10313.002.patch
          5 kB
          Yiqun Lin
        3. HDFS-10313.003.patch
          5 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              yzhangal Yongjun Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: