MRUnit
  1. MRUnit
  2. MRUNIT-66

null input checks and behavior on no input to a driver are inconsistent

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.9.0
    • Labels:
      None

      Description

      the MapDriver class does not allow null input values if using setInput(Pair) but does allow null input if using setInputKey, setInputValue, or setInput(key, value)

      Also the MapDriver, ReduceDriver classes will throw null pointer exceptions with no input while the MapReduceDriver and Pipeline classes will just log warnings

        Activity

        Jim Donofrio created issue -
        Jim Donofrio made changes -
        Field Original Value New Value
        Description the MapDriver class does not allow null input values if using setInput(Pair) but does allow null input if using setInputKey, setInputValue, or setInput(key, value) the MapDriver class does not allow null input values if using setInput(Pair) but does allow null input if using setInputKey, setInputValue, or setInput(key, value)

        Also the MapDriver, ReduceDriver classes will throw null pointer exceptions with no input while the MapReduceDriver and Pipeline classes will just log warnings
        Jim Donofrio made changes -
        Fix Version/s 1.0.0 [ 12316360 ]
        Affects Version/s 0.8.1 [ 12319881 ]
        Jim Donofrio made changes -
        Assignee Jim Donofrio [ jdonofrio ]
        Jim Donofrio made changes -
        Summary null input checks are inconsistent in at least the MapDriver class null input checks and behavior on no input to a driver are inconsistent
        Jim Donofrio made changes -
        Due Date 25/Mar/12
        Jim Donofrio made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jim Donofrio
            Reporter:
            Jim Donofrio
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development