Excellent. Please stick your code up in an issue. Should we add documentation on this utility to Ryan's LZO page up on hbase.org wiki?
Good stuff, St.Ack On Tue, Sep 29, 2009 at 1:48 PM, elsif <[email protected]> wrote: > 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'. > > >
