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

Ted Yu commented on HBASE-7156:
-------------------------------

{code}
+        if (cmd.equals("-D")) {
+          String[] keyval = args[++i].split("=", 2);
{code}
Consider checking that keyval.length is 2.

Otherwise patch looks good.
                
> Add Data Block Encoding and -D opts to Performance Evaluation
> -------------------------------------------------------------
>
>                 Key: HBASE-7156
>                 URL: https://issues.apache.org/jira/browse/HBASE-7156
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-7156-v0.patch
>
>
> Add the ability to specify Data Block Encoding and other configuration 
> options.
> --blockEncoding=TYPE
> -D <property=value>
> Example:
> hbase org.apache.hadoop.hbase.PerformanceEvaluation -D 
> mapreduce.task.timeout=60000 --blockEncoding=DIFF sequentialWrite 1

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

Reply via email to