[ https://issues.apache.org/jira/browse/PIG-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190794#comment-13190794 ]
Prashant Kommireddi commented on PIG-2319: ------------------------------------------ Seems like a good addition. I tested Snappy with Pig and it works just fine on compressing map output (uses the underlying Hadoop framework). We should extend the default Load/Store func to be able to use Snappy. Currently LZO and GZ are hardcoded, but it would be nice to pick up the available codecs from "io.compression.codecs" and make them available. Thoughts? > 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