Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1875

Compression test utility

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.20.0
    • 0.20.1, 0.90.0
    • util
    • None
    • Reviewed

    Description

      Attached is a stand alone utility to test compression compatibility
      before starting hbase:

      1. ./hbase org.apache.hadoop.hbase.test.HFileCompressionTest
        Usage: HFileCompressionTest hdfs compression
        compression must be one of [ none, gz, lzo ]
      1. ./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'.

      Attachments

        1. HFileCompressionTest.java
          2 kB
          elsif
        2. 1875-v2.patch
          3 kB
          Michael Stack

        Activity

          People

            Unassigned Unassigned
            elsif elsif
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: