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

TestDistCpViewFs to include IOExceptions in test error reports

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: tools/distcp
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Minor test code style: all IOEs are caught and logged @ error, then test failed with a simple assert. This will lose all failure data from the XML test reports, hiding it in the logs.

      Better to not catch the IOEs, just rethrow, and let JUnit handle them.

        Attachments

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified