You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2013/01/15 22:26:17 UTC
[jira] [Commented] (ACCUMULO-730) Run MR tests using local job
tracker
[ https://issues.apache.org/jira/browse/ACCUMULO-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13554372#comment-13554372 ]
Billie Rinaldi commented on ACCUMULO-730:
-----------------------------------------
Question: do we need to maintain compatibility with hadoop 0.20.205.0? I'm about to check in a patch for ACCUMULO-730. I decided to use the plain local job tracker with MockAccumulo (instead of MiniAccumuloCluster) since it's a bit more straightforward and we haven't planned to deprecate MockAccumulo yet. Either way involves adding a couple of dependencies to the poms to get it to work for all of 1.0, 1.1, 0.23, and 2.0. The only one added to the top-level pom is commons-httpclient, which seems fine. To get it to work for 0.20.205.0 as well, we would have to add a dependency on jackson. I'm reluctant to do so, but if someone needs 0.20.205.0, I will.
> Run MR tests using local job tracker
> ------------------------------------
>
> Key: ACCUMULO-730
> URL: https://issues.apache.org/jira/browse/ACCUMULO-730
> Project: Accumulo
> Issue Type: Task
> Components: test
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: 1.5.0
>
>
> This can be done by setting the following properties, then calling ToolRunner.run.
> conf.set("mapred.job.tracker", "local");
> conf.set("fs.default.name", "file:///");
> If it doesn't take too much longer to run this way in a junit test, it would be preferable to the manual context creation that is currently being done.
--
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