accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-730) Run MR tests using local job tracker
Date Wed, 16 Jan 2013 18:08:12 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555283#comment-13555283
] 

Christopher Tubbs commented on ACCUMULO-730:
--------------------------------------------

compile/provided mean that the item is needed for your artifact to function properly. The
test scope means it is required for your tests to function properly. Typically, you add a
dependency when you use a class it contains directly in your code. In the case of the test
scope, you'd be using a class it contains directly in your testing code. I don't really know
how the artifacts (commons-httpclient and avro) are used, so I can't say which they should
be... but since you were mostly editing tests, I assumed it was needed for your test code.
If it's not scoped to test, I would expect us to need to roll it into our assembly, though.
                
> 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

Mime
View raw message