You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by th...@apache.org on 2010/09/30 17:47:11 UTC
svn commit: r1003113 -
/hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
Author: thejas
Date: Thu Sep 30 15:47:11 2010
New Revision: 1003113
URL: http://svn.apache.org/viewvc?rev=1003113&view=rev
Log:
fix test cases that failed after changes for PIG-1649
Modified:
hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
Modified: hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java
URL: http://svn.apache.org/viewvc/hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java?rev=1003113&r1=1003112&r2=1003113&view=diff
==============================================================================
--- hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java (original)
+++ hadoop/pig/branches/branch-0.8/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java Thu Sep 30 15:47:11 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;
}