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

subbu srinivasan commented on DRILL-4641:
-----------------------------------------

Jason,
Need to make following config changes to make it working.

- Modify core-site.xml to include the following. The property specifies the 
list of codecs that will be exposed by the compression interface 
(org.apache.hadoop.io.compress.CompressionCodecFactory and 
org.apache.hadoop.io.compress.CompressionCodec)

<property>
  <name>io.compression.codecs</name>
  
<value>org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,
        
org.apache.hadoop.io.compress.BZip2Codec,com.hadoop.compression.lzo.LzopCodec
        </value>
</property>

- Download the lzo java compression files  - lzo-hadoop-1.0.5.jar and 
lzo-core-1.0.5.jar

- Define the extension appropriately in the storage plugin 
 "json": {
      "type": "json",
      "extensions": [
        "lzo"
      ]
    },

This got me going.





> Support for lzo compression
> ---------------------------
>
>                 Key: DRILL-4641
>                 URL: https://issues.apache.org/jira/browse/DRILL-4641
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: Future
>         Environment: Not specific to platform
>            Reporter: subbu srinivasan
>
> Would love support for quering lzo compressed files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to