pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1579446 - in /pig/trunk: CHANGES.txt test/org/apache/pig/test/TestGrunt.java
Date Wed, 19 Mar 2014 23:07:17 GMT
Author: daijy
Date: Wed Mar 19 23:07:17 2014
New Revision: 1579446

URL: http://svn.apache.org/r1579446
Log:
PIG-3818: PIG-2499 is accidently reverted

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/test/org/apache/pig/test/TestGrunt.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1579446&r1=1579445&r2=1579446&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Mar 19 23:07:17 2014
@@ -257,6 +257,8 @@ PIG-3480: TFile-based tmpfile compressio
 
 BUG FIXES
 
+PIG-3818: PIG-2499 is accidently reverted (daijy)
+
 PIG-3516: pig does not bring in joda-time as dependency in its pig-template.xml (daijy)
 
 PIG-3753: LOGenerate generates null schema (daijy)

Modified: pig/trunk/test/org/apache/pig/test/TestGrunt.java
URL: http://svn.apache.org/viewvc/pig/trunk/test/org/apache/pig/test/TestGrunt.java?rev=1579446&r1=1579445&r2=1579446&view=diff
==============================================================================
--- pig/trunk/test/org/apache/pig/test/TestGrunt.java (original)
+++ pig/trunk/test/org/apache/pig/test/TestGrunt.java Wed Mar 19 23:07:17 2014
@@ -1073,10 +1073,10 @@ public class TestGrunt {
                // We need to fix this because there is a race condition with pipes.
                // dir command can potentially run before the TouchedFileInsideGrunt_61 is
written
                // Solved for linux/unix below using xargs
-               strCmd = "sh echo foo > TouchedFileInsideGrunt_61 | dir /B | findstr TouchedFileInsideGrunt_61
> fileContainingTouchedFileInsideGruntShell_71";
+               strCmd = "sh echo foo > TouchedFileInsideGrunt_61 && dir /B | findstr
TouchedFileInsideGrunt_61 > fileContainingTouchedFileInsideGruntShell_71";
             }
             else {
-               strCmd = "sh touch TouchedFileInsideGrunt_61 | ls | grep TouchedFileInsideGrunt_61
> fileContainingTouchedFileInsideGruntShell_71";
+               strCmd = "sh touch TouchedFileInsideGrunt_61 && ls | grep TouchedFileInsideGrunt_61
> fileContainingTouchedFileInsideGruntShell_71";
             }
 
             cmd = new ByteArrayInputStream(strCmd.getBytes());



Mime
View raw message