Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-158

withOutput doesn't generate useful information with MapWritable on error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • None

    Description

      Using withOutput generates the following, notice that the hashcode is printed rather than some useful detail as to the content of the maps:

      Nov 9, 2012 2:40:01 PM org.apache.hadoop.mrunit.TestDriver logError
      SEVERE: Missing expected output (null-0, org.apache.hadoop.io.MapWritable@e1) at position 0.
      Nov 9, 2012 2:40:01 PM org.apache.hadoop.mrunit.TestDriver logError
      SEVERE: Received unexpected output (null-0, org.apache.hadoop.io.MapWritable@2059) at position 0.

      Attachments

        Issue Links

          Activity

            People

              dbeech Dave Beech
              phunt Patrick D. Hunt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: