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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      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 Zeyliger
        2. HADOOP-7357-v2.patch.txt
          1 kB
          Philip Zeyliger
        3. hadoop-7357-3.patch
          2 kB
          Eli Collins

          Activity

            People

            • Assignee:
              philip Philip Zeyliger
              Reporter:
              philip Philip Zeyliger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: