You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2012/02/16 23:13:00 UTC

svn commit: r1245206 - /pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java

Author: daijy
Date: Thu Feb 16 22:13:00 2012
New Revision: 1245206

URL: http://svn.apache.org/viewvc?rev=1245206&view=rev
Log:
Fix TestAvroStorage failure on 23 (PIG-2508.PIG-2508-0.10-TestAvroStorage.patch)

Modified:
    pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java

Modified: pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java?rev=1245206&r1=1245205&r2=1245206&view=diff
==============================================================================
--- pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java (original)
+++ pig/branches/branch-0.10/contrib/piggybank/java/src/test/java/org/apache/pig/piggybank/test/storage/avro/TestAvroStorage.java Thu Feb 16 22:13:00 2012
@@ -150,6 +150,7 @@ public class TestAvroStorage {
       
         Properties properties = new Properties();
         properties.setProperty("mapred.output.compress", "true");
+        properties.setProperty("mapred.output.compression.codec", "org.apache.hadoop.io.compress.SnappyCodec");
         properties.setProperty("avro.output.codec", "snappy");
         PigServer pigServer = new PigServer(ExecType.LOCAL, properties);
         pigServer.setBatchOn();