You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2014/09/16 21:46:35 UTC

[jira] [Commented] (ACCUMULO-3134) Add options for file selection and creation to compact command

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

Mike Drob commented on ACCUMULO-3134:
-------------------------------------

Since we can't predict what options everybody's custom compaction strategies will need, does it make sense to just accept a map for configuration?

> Add options for file selection and creation to compact command
> --------------------------------------------------------------
>
>                 Key: ACCUMULO-3134
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3134
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Keith Turner
>             Fix For: 1.7.0
>
>
> Using a specialized compaction strategy and ACCUMULO-1798, options could be added to the shell's compact command to select specific files and configure the output file.   
> For example options like the following could be added for file selection.
>  * --sf-lt-size : select files less than a configurable size
>  * --sf-volume : selects files with a specified volume
>  * --sf-volume-re : selects files where the volume matches the specified regex
>  * --sf-name : selects files with a specfied name
>  * --sf-name-re : selects files where the name matches the specified regex
>  * --sf-compression : selects files with the specified compression type
>  * --sf-hdfs-block-size : selects files with a given hdfs block size
>  * --sf-rfile-data-block-size : selects file with a given rfile data block size
>  * --sf-rfile-index-block-size : selects file with a given rfile index block size
> Options like the following could be added for file creation.
>  * --out-compression : creates a file with the specified compression type
>  * --out-hdfs-block-size : creates a file with a given hdfs block size
>  * --out-rfile-data-block-size : creates a file with a given rfile data block size
>  * --out-rfile-index-block-size : creates a file with a given rfile index block size



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)