Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12111 [Umbrella] Split test-patch off into its own TLP
  3. HADOOP-12187

Whitespace plugin shows unexpected error messages if gitdiffcontent is empty

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • HADOOP-12111
    • yetus
    • None

    Description

      In the case that gitdiffcontent is empty such as only removing lines, the following error messages are shown in console:

      awk: cmd. line:1: fatal: cannot open file `/tmp/test-patch-pig/3298/gitdiffcontent.txt' for reading (No such file or directory)
      grep: /tmp/test-patch-pig/3298/gitdiffcontent.txt: No such file or directory
      

      Attachments

        1. HADOOP-12187.HADOOP-12111.01.patch
          0.5 kB
          Kengo Seki
        2. HADOOP-12187.HADOOP-12111.02.patch
          0.4 kB
          Kengo Seki

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: