Author: thejas
Date: Thu Sep 30 15:47:53 2010
New Revision: 1003114

URL: http://svn.apache.org/viewvc?rev=1003114&view=rev
Log:
fix test cases that failed after changes for PIG-1649

Modified:
    
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java

Modified: 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
URL: 
http://svn.apache.org/viewvc/hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java?rev=1003114&r1=1003113&r2=1003114&view=diff
==============================================================================
--- 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
 (original)
+++ 
hadoop/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
 Thu Sep 30 15:47:53 2010
@@ -714,7 +714,7 @@ public class JobControlCompiler{
             //Using custom uri parsing because 'new Path(location).toUri()' 
fails
             // for some valid uri's (eg jdbc style), and 'new Uri(location)' 
fails
             // for valid hdfs paths that contain curly braces
-            if(UriUtil.isHDFSFileOrLocal(input)){
+            if(!UriUtil.isHDFSFileOrLocal(input)){
                 //skip  if it is not hdfs or local file
                 continue;
             }


Reply via email to