pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1384548 - in /pig/trunk: CHANGES.txt src/org/apache/pig/tools/pigstats/ScriptState.java
Date Thu, 13 Sep 2012 21:27:55 GMT
Author: daijy
Date: Thu Sep 13 21:27:54 2012
New Revision: 1384548

URL: http://svn.apache.org/viewvc?rev=1384548&view=rev
Log:
PIG-2744: Handle Pig command line with XML special characters

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/org/apache/pig/tools/pigstats/ScriptState.java

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1384548&r1=1384547&r2=1384548&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Thu Sep 13 21:27:54 2012
@@ -273,6 +273,8 @@ OPTIMIZATIONS
 
 BUG FIXES
 
+PIG-2744: Handle Pig command line with XML special characters (lulynn_2008 via daijy)
+
 PIG-2637: Command-line option -e throws TokenMgrError exception (lulynn_2008 via daijy)
 
 PIG-2887: Macro cannot handle negative number (knoguchi via gates)

Modified: pig/trunk/src/org/apache/pig/tools/pigstats/ScriptState.java
URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/tools/pigstats/ScriptState.java?rev=1384548&r1=1384547&r2=1384548&view=diff
==============================================================================
--- pig/trunk/src/org/apache/pig/tools/pigstats/ScriptState.java (original)
+++ pig/trunk/src/org/apache/pig/tools/pigstats/ScriptState.java Thu Sep 13 21:27:54 2012
@@ -409,7 +409,7 @@ public class ScriptState {
     }
 
     private void setCommandLine(String commandLine) {
-        this.commandLine = commandLine;
+        this.commandLine = new String(Base64.encodeBase64(commandLine.getBytes()));
     }
 
     private String getScript() {



Mime
View raw message