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

hadoop.io.compress.TestCodec#main() should exit with non-zero exit code if test failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.23.0
    • test
    • None
    • Reviewed

    Description

      It's convenient to run something like

      HADOOP_CLASSPATH=hadoop-test-0.20.2.jar bin/hadoop org.apache.hadoop.io.compress.TestCodec  -count 3 -codec fo
      

      but the error code it returns isn't interesting.

      1-line patch attached fixes that.

      Attachments

        1. HADOOP-7357.patch.txt
          0.6 kB
          Philip Martin
        2. hadoop-7357-3.patch
          2 kB
          Eli Collins
        3. HADOOP-7357-v2.patch.txt
          1 kB
          Philip Martin

        Activity

          People

            philip Philip Martin
            philip Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: