hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-1875) Compression test utility
Date Mon, 05 Oct 2009 21:23:31 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-1875:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.21.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I also made it so we exit with code 0 if successfully wrote compressed file and != 0 if anything
else.  Updated wiki compression page to reference this new tool.

Thanks for the patch elsif.  Applied branch and trunk.

> Compression test utility
> ------------------------
>
>                 Key: HBASE-1875
>                 URL: https://issues.apache.org/jira/browse/HBASE-1875
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 0.20.0
>            Reporter: elsif 
>            Priority: Trivial
>             Fix For: 0.20.1, 0.21.0
>
>         Attachments: 1875-v2.patch, HFileCompressionTest.java
>
>
> Attached is a stand alone utility to test compression compatibility
> before starting hbase:
> # ./hbase org.apache.hadoop.hbase.test.HFileCompressionTest
> Usage: HFileCompressionTest hdfs compression
>   compression must be one of [ none, gz, lzo ]
> # ./hbase org.apache.hadoop.hbase.test.HFileCompressionTest
> hdfs://localhost:8020/ lzo
> 09/09/29 13:39:55 INFO lzo.GPLNativeCodeLoader: Loaded native gpl library
> 09/09/29 13:39:55 INFO lzo.LzoCodec: Successfully loaded & initialized
> native-lzo library
> 09/09/29 13:39:55 INFO compress.CodecPool: Got brand-new compressor
> OK
> The utility creates a temporary HFile named '.hfile-comp-test' at the
> specified HDFS path and outputs either 'OK' or 'FAILED'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message