hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-1902) Let PerformanceEvaluation support setting tableName and compress algorithm
Date Fri, 22 Jun 2012 19:08:44 GMT

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

Matteo Bertozzi commented on HBASE-1902:
----------------------------------------

This commit got lost during the HBASE-2367 merge (r926931 0.90 branch)

This patch is not in 0.92, 0.94 or trunk
                
> Let PerformanceEvaluation support setting tableName and compress algorithm
> --------------------------------------------------------------------------
>
>                 Key: HBASE-1902
>                 URL: https://issues.apache.org/jira/browse/HBASE-1902
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.20.1
>            Reporter: Schubert Zhang
>            Assignee: Schubert Zhang
>            Priority: Minor
>             Fix For: 0.90.0
>
>         Attachments: HBASE-1902-v1.patch
>
>
> 1. Current PerformanceEvaluation.java defaultly does not use compression, and always
use table name as "TestTable". Tow comand- arguments are added to support setting tableName
and compression algorithm by user. e.g.:
> (1) tableName="PE_LZO", compression="lzo"
> bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation --table=PE_LZO --compress=lzo
sequentialWrite 4
> (2) default (tabmeName="TesTable", compression="none"
> bin/hbase org.apache.hadoop.hbase.PerformanceEvaluation sequentialWrite 4
> 2. Current "public static byte[] generateValue(final Random r)" generates bytes[] which
is too random. So the effect of compression is not obvious (e.g. there is not size reduce
for LZO).
> A new "public static byte[] generateValue(final Random r)" is provided here. We can get
4:1 compression ratio for LZO now.

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

        

Mime
View raw message