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 Bug
    • Status: Closed
    • Priority: Trivial 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.

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

        Activity

        Philip Zeyliger created issue -
        Philip Zeyliger made changes -
        Field Original Value New Value
        Attachment HADOOP-7357.patch.txt [ 12481384 ]
        Philip Zeyliger made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Aaron T. Myers made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Aaron T. Myers made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Philip Zeyliger made changes -
        Attachment HADOOP-7357-v2.patch.txt [ 12481388 ]
        Eli Collins made changes -
        Attachment hadoop-7357-3.patch [ 12490139 ]
        Eli Collins made changes -
        Assignee Philip Zeyliger [ philip ] Eli Collins [ eli ]
        Eli Collins made changes -
        Fix Version/s 0.23.0 [ 12315569 ]
        Eli Collins made changes -
        Assignee Eli Collins [ eli ] Philip Zeyliger [ philip ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development