You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by HankWarLock <hv...@gmail.com> on 2013/08/16 21:20:49 UTC
Implementing MultiOutputs with Accumulo
Need some sample code to get AccumuloOutputFormat working with MultiOuputs
(to write to several accumulo tables in the same reducer).
Using accumulo v 1.5 and the hadoop Cdh4 4.3 mvr1 version (hadoop 2.0.0)
addNamedOutput requires the newer JobConf but then if I try to use JobConf
in run instead of Job I have a problem with the static calls to
AccumuloOutputFormat that expect a Job param
Thanks
Hank
--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Implementing-MultiOutputs-with-Accumulo-tp5146.html
Sent from the Developers mailing list archive at Nabble.com.
Re: Implementing MultiOutputs with Accumulo
Posted by Billie Rinaldi <bi...@gmail.com>.
I think you can already write to multiple tables from the same reducer.
The AccumuloOutputFormat outputs Text, Mutation where the Text is the name
of the table. Is that not working?
Billie
On Fri, Aug 16, 2013 at 12:20 PM, HankWarLock <hv...@gmail.com> wrote:
> Need some sample code to get AccumuloOutputFormat working with MultiOuputs
> (to write to several accumulo tables in the same reducer).
>
> Using accumulo v 1.5 and the hadoop Cdh4 4.3 mvr1 version (hadoop 2.0.0)
>
> addNamedOutput requires the newer JobConf but then if I try to use JobConf
> in run instead of Job I have a problem with the static calls to
> AccumuloOutputFormat that expect a Job param
>
> Thanks
>
> Hank
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/Implementing-MultiOutputs-with-Accumulo-tp5146.html
> Sent from the Developers mailing list archive at Nabble.com.
>
Re: Implementing MultiOutputs with Accumulo
Posted by John Vines <vi...@apache.org>.
There are two separate versions of the mapreduce stuff, one for the mapred
version and one for the mapreduce version. Make sure you're importing the
right classes.
On Fri, Aug 16, 2013 at 3:20 PM, HankWarLock <hv...@gmail.com> wrote:
> Need some sample code to get AccumuloOutputFormat working with MultiOuputs
> (to write to several accumulo tables in the same reducer).
>
> Using accumulo v 1.5 and the hadoop Cdh4 4.3 mvr1 version (hadoop 2.0.0)
>
> addNamedOutput requires the newer JobConf but then if I try to use JobConf
> in run instead of Job I have a problem with the static calls to
> AccumuloOutputFormat that expect a Job param
>
> Thanks
>
> Hank
>
>
>
> --
> View this message in context:
> http://apache-accumulo.1065345.n5.nabble.com/Implementing-MultiOutputs-with-Accumulo-tp5146.html
> Sent from the Developers mailing list archive at Nabble.com.
>