[
https://issues.apache.org/jira/browse/MAPREDUCE-5097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611318#comment-13611318
]
Alex Baranau commented on MAPREDUCE-5097:
-----------------------------------------
oh, and to try test you need to build examples jar after applying patch, so
that you have jar to test on. It is ugly, I know :( and is not meant for
committing. Only the patch with the fix (unless I add good test).
> Job.addArchiveToClassPath is ignored when running job with LocalJobRunner
> -------------------------------------------------------------------------
>
> Key: MAPREDUCE-5097
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5097
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Reporter: Alex Baranau
> Assignee: Alex Baranau
> Priority: Minor
> Attachments: MAPREDUCE-5097.patch, MAPREDUCE-5097-ugly-test.patch
>
>
> Using external dependency jar in mr job. Adding it to the job classpath via
> Job.addArchiveToClassPath(...) doesn't work when running with LocalJobRunner
> (i.e. in unit test). This makes it harder to unit-test such jobs (with
> third-party runtime dependencies).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira