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-467) Allow the properties for AccumuloFileOutputFormat to be set in a mapreduce job
Date Wed, 12 Dec 2012 21:33:22 GMT

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

Christopher Tubbs commented on ACCUMULO-467:
--------------------------------------------

So, it should be really easy to separate these changes from those in ACCUMULO-769, as [~billie.rinaldi]
suggests. It's a simple matter of using the Configuration object instead of the Job object
for now. As for [~jvines] suggestion, I can change the javadoc to "Example: 'none' or 'gz'
(See Accumulo documentation for complete list of available compression types)." or something
similar. I do, however, want to leave some hint as to what the String should look like.
                
> Allow the properties for AccumuloFileOutputFormat to be set in a mapreduce job
> ------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-467
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-467
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.4.1, 1.3.6, 1.4.0, 1.3.5
>            Reporter: Chris Waring
>            Assignee: Christopher Tubbs
>            Priority: Minor
>              Labels: AccumuloFileOutputFormat,, mapreduce
>             Fix For: 1.5.0
>
>         Attachments: ACCUMULO-467-1.patch
>
>
> Currently there is no way to set any of the configuration options for AccumuloFileOutputFormat
in a mapreduce job. Specifically the compression code, file block compression size, and index
block compression size to name a few.  Since AccumuloFileOutputFormat calls FileOperations.getInstance.openWriter()
 which takes both a Configuration and AccumuloConfiguration one could inside the openWriter
function check to see if the parameters are specified in the Configuration object and if not
take the default parameters from the AccumuloConfiguration object.  

--
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