Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9614

smart-test-patch.sh hangs for new version of patch (2.7.1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.7, 2.0.4-alpha, 3.0.0-alpha1
    • 0.23.8, 2.0.5-alpha
    • None
    • None

    Description

      patch -p0 -E --dry-run prints "checking file " for the new version of patch(2.7.1) rather than "patching file" as it did for older versions. This causes TMP2 to become empty, which causes the script to hang on this command forever:
      PREFIX_DIRS_AND_FILES=$(cut -d '/' -f 1 | sort | uniq)

      Attachments

        1. HADOOP-9614.patch
          0.7 kB
          Ravi Prakash
        2. HADOOP-9614.patch
          0.7 kB
          Ravi Prakash

        Activity

          People

            raviprak Ravi Prakash
            raviprak Ravi Prakash
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: