You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "E. Sammer (JIRA)" <ji...@apache.org> on 2011/05/27 01:21:47 UTC

[jira] [Created] (MRUNIT-15) runTests() should throw meaningful error messages

runTests() should throw meaningful error messages
-------------------------------------------------

                 Key: MRUNIT-15
                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
             Project: MRUnit
          Issue Type: Improvement
    Affects Versions: 0.5.0
            Reporter: E. Sammer


When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MRUNIT-15) runTests() should throw meaningful error messages

Posted by "Brock Noland (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brock Noland updated MRUNIT-15:
-------------------------------

    Attachment: MRUNIT-15-2.patch

Forgot about the other drivers. Updated patch is attached.
                
> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>             Fix For: 0.8.0
>
>         Attachments: MRUNIT-15-1.patch, MRUNIT-15-2.patch
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (MRUNIT-15) runTests() should throw meaningful error messages

Posted by "Chris A. Mattmann (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann reassigned MRUNIT-15:
---------------------------------------

    Assignee: Chris A. Mattmann
    
> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>            Assignee: Chris A. Mattmann
>             Fix For: 0.8.0
>
>         Attachments: MRUNIT-15-1.patch, MRUNIT-15-2.patch
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MRUNIT-15) runTests() should throw meaningful error messages

Posted by "E. Sammer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

E. Sammer updated MRUNIT-15:
----------------------------

    Fix Version/s: 0.8.0

> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>             Fix For: 0.8.0
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (MRUNIT-15) runTests() should throw meaningful error messages

Posted by "Chris A. Mattmann (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann resolved MRUNIT-15.
-------------------------------------

    Resolution: Fixed

- patch committed in r1178100. Thanks Brock!
                
> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>            Assignee: Chris A. Mattmann
>             Fix For: 0.8.0
>
>         Attachments: MRUNIT-15-1.patch, MRUNIT-15-2.patch
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MRUNIT-15) runTests() should throw meaningful error messages

Posted by "Brock Noland (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brock Noland updated MRUNIT-15:
-------------------------------

    Attachment: MRUNIT-15-1.patch

Attached is a patch which implements this. All tests pass.
                
> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>             Fix For: 0.8.0
>
>         Attachments: MRUNIT-15-1.patch
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira