You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2012/08/15 17:12:38 UTC

[jira] [Commented] (ACCUMULO-467) Allow the properties for AccumuloFileOutputFormat to be set in a mapreduce job

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

Billie Rinaldi commented on ACCUMULO-467:
-----------------------------------------

In looking into this, I noticed that setBlockSize hasn't worked since we stopped writing MapFiles.  I've added new, working set methods to AccumuloFileOutputFormat, and made RFileOperations check for parameters in the Configuration before using the ones from AccumuloConfiguration.
                
> 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: Billie Rinaldi
>            Priority: Minor
>              Labels: AccumuloFileOutputFormat,, mapreduce
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira