hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-1392) change how we build/configure lzocodec
Date Fri, 08 May 2009 06:00:47 GMT
change how we build/configure lzocodec
--------------------------------------

                 Key: HBASE-1392
                 URL: https://issues.apache.org/jira/browse/HBASE-1392
             Project: Hadoop HBase
          Issue Type: Bug
    Affects Versions: 0.20.0
            Reporter: ryan rawson
             Fix For: 0.20.0
         Attachments: HBASE-1392.patch

i got a reply to my proposed patch for lzocodec:

Instead of deriving from DefaultCodec, you probably want to do the followng:

CompressionCodec lzoCodec = (CompressionCodec)
ReflectionUtils.newInstance(Class.forName("com.hadoop.compression.lzo.LzoCodec"), conf);

setConf is automatically handled by RefletionUtils.newInstance.


We should do that.

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