accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1854) Accumulo{Input,Output}Format can't handle multiple configurations
Date Tue, 05 Nov 2013 23:18:18 GMT

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

Bill Havanki commented on ACCUMULO-1854:
----------------------------------------

An alternative which would probably avoid a lot of the changes to AIF and AOF is to bake the
sequencing idea into the Configuration object. I'm thinking a decorator around the Configuration
which lets you shift it to the next sequence, say. It remembers where it is and the counts
so far, and can enforce ordering access, bounds checking, maximums, etc.

SequencedConfiguration sconf = new SequencedConfiguration(conf);  // initially no sequence
// do stuff with sconf
sconf.increment()
// next pass with sequence 1
...

> Accumulo{Input,Output}Format can't handle multiple configurations
> -----------------------------------------------------------------
>
>                 Key: ACCUMULO-1854
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1854
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.4.5, 1.5.1, 1.6.1
>
>
> I noticed that I was unable to properly use MultipleInputs (or any code which uses a
similar approach) with the AccumuloInputFormat class because of the way it builds up information
in the Configuration object.
> It would be useful to be able to have multiple instances of AIF (and AOF) configured
within one Job (Configuration).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message