You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by ol...@apache.org on 2011/10/05 00:20:37 UTC

svn commit: r1178982 - in /pig/trunk: CHANGES.txt src/org/apache/pig/tools/grunt/GruntParser.java

Author: olga
Date: Tue Oct  4 22:20:36 2011
New Revision: 1178982

URL: http://svn.apache.org/viewvc?rev=1178982&view=rev
Log:
PIG-2092: Missing sh command from Grant shell (olgan)

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/tools/grunt/GruntParser.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1178982&r1=1178981&r2=1178982&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Tue Oct  4 22:20:36 2011
@@ -24,6 +24,8 @@ INCOMPATIBLE CHANGES
 
 IMPROVEMENTS
 
+PIG-2092: Missing sh command from Grant shell (olgan)
+
 PIG-2163: Improve nested cross to stream one relation (zjshen via daijy)
 
 PIG-2249: Enable pig e2e testing on EC2 (gates)

Modified: pig/trunk/src/org/apache/pig/tools/grunt/GruntParser.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/tools/grunt/GruntParser.java?rev=1178982&r1=1178981&r2=1178982&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/tools/grunt/GruntParser.java (original)
+++ pig/trunk/src/org/apache/pig/tools/grunt/GruntParser.java Tue Oct  4 22:20:36 2011
@@ -815,6 +815,7 @@ public class GruntParser extends PigScri
         System.out.println("        -param <param_name - See parameter substitution for details.");
         System.out.println("        -param_file <file_name> - See parameter substitution for details.");
         System.out.println("        script - Script to be executed.");
+        System.out.println("    sh  <shell command> - Invoke a shell command."); 
         System.out.println("    kill <job_id> - Kill the hadoop job specified by the hadoop job id.");
         System.out.println("    set <key> <value> - Provide execution parameters to Pig. Keys and values are case sensitive.");
         System.out.println("        The following keys are supported: ");