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

withOutput doesn't generate useful information with MapWritable on error

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 1.0.0
    • Labels:
      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

              • Assignee:
                dbeech Dave Beech
                Reporter:
                phunt Patrick Hunt
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: