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

Prashant Kommireddi commented on PIG-2319:
------------------------------------------

TFileStorage is used for writing temporary/intermediate file and it looks only 
for gz and lzo. Code here will need to be modified for temporary files to be 
able to use other compression codecs. 
                
> Pig should support snappy as a value for pig.tmpfilecompression.codec
> ---------------------------------------------------------------------
>
>                 Key: PIG-2319
>                 URL: https://issues.apache.org/jira/browse/PIG-2319
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.8.1, 0.9.1
>            Reporter: Joe Crobak
>
> Utils.tmpFileCompressionCodec() hard-codes support for only "gz" and "lzo" 
> compression.  Since support for snappy was added in HADOOP-7206, it would be 
> nice to allow this codec as well.
> A future-proof solution to this problem might let the user provide a full 
> classname (like in the hadoop settings) or the short-hand, in case the 
> short-hand doesn't exist for a given codec.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to