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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: distcp
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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 Jing Zhao on HDFS-9820. Thanks Jing.

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: