You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2012/08/27 22:46:55 UTC
svn commit: r1377849 - in /pig/branches/branch-0.10/shims/test:
hadoop20/org/apache/pig/test/MiniCluster.java
hadoop23/org/apache/pig/test/MiniCluster.java
Author: daijy
Date: Mon Aug 27 20:46:55 2012
New Revision: 1377849
URL: http://svn.apache.org/viewvc?rev=1377849&view=rev
Log:
PIG-2791: Pig does not work with ViewFileSystem (FixMiniCluster-branch10-1.patch)
Modified:
pig/branches/branch-0.10/shims/test/hadoop20/org/apache/pig/test/MiniCluster.java
pig/branches/branch-0.10/shims/test/hadoop23/org/apache/pig/test/MiniCluster.java
Modified: pig/branches/branch-0.10/shims/test/hadoop20/org/apache/pig/test/MiniCluster.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/shims/test/hadoop20/org/apache/pig/test/MiniCluster.java?rev=1377849&r1=1377848&r2=1377849&view=diff
==============================================================================
--- pig/branches/branch-0.10/shims/test/hadoop20/org/apache/pig/test/MiniCluster.java (original)
+++ pig/branches/branch-0.10/shims/test/hadoop20/org/apache/pig/test/MiniCluster.java Mon Aug 27 20:46:55 2012
@@ -42,6 +42,8 @@ public class MiniCluster extends MiniGen
conf_dir.mkdirs();
File conf_file = new File(conf_dir, "hadoop-site.xml");
+ conf_file.delete();
+
// Builds and starts the mini dfs and mapreduce clusters
Configuration config = new Configuration();
m_dfs = new MiniDFSCluster(config, dataNodes, true, null);
Modified: pig/branches/branch-0.10/shims/test/hadoop23/org/apache/pig/test/MiniCluster.java
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/shims/test/hadoop23/org/apache/pig/test/MiniCluster.java?rev=1377849&r1=1377848&r2=1377849&view=diff
==============================================================================
--- pig/branches/branch-0.10/shims/test/hadoop23/org/apache/pig/test/MiniCluster.java (original)
+++ pig/branches/branch-0.10/shims/test/hadoop23/org/apache/pig/test/MiniCluster.java Mon Aug 27 20:46:55 2012
@@ -60,7 +60,9 @@ public class MiniCluster extends MiniGen
File conf_dir = new File(System.getProperty("user.home"), "pigtest/conf/");
conf_dir.mkdirs();
File conf_file = new File(conf_dir, "hadoop-site.xml");
-
+
+ conf_file.delete();
+
// Builds and starts the mini dfs and mapreduce clusters
Configuration config = new Configuration();
m_dfs = new MiniDFSCluster(config, dataNodes, true, null);