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/03/23 01:00:18 UTC

svn commit: r1304143 - in /pig/branches/branch-0.10: CHANGES.txt test/e2e/pig/conf/default.conf

Author: daijy
Date: Fri Mar 23 00:00:18 2012
New Revision: 1304143

URL: http://svn.apache.org/viewvc?rev=1304143&view=rev
Log:
PIG-2609: e2e harness: make hdfs base path configurable (outside default.conf)

Modified:
    pig/branches/branch-0.10/CHANGES.txt
    pig/branches/branch-0.10/test/e2e/pig/conf/default.conf

Modified: pig/branches/branch-0.10/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/CHANGES.txt?rev=1304143&r1=1304142&r2=1304143&view=diff
==============================================================================
--- pig/branches/branch-0.10/CHANGES.txt (original)
+++ pig/branches/branch-0.10/CHANGES.txt Fri Mar 23 00:00:18 2012
@@ -362,6 +362,8 @@ Release 0.9.3 - Unreleased
 
 BUG FIXES
 
+PIG-2609: e2e harness: make hdfs base path configurable (outside default.conf) (thw via daijy)
+
 PIG-2576: Change in behavior for UDFContext.getUDFContext().getJobConf() in front-end (thw via daijy)
 
 PIG-2532: Registered classes fail deserialization in frontend (traviscrawford via julien)

Modified: pig/branches/branch-0.10/test/e2e/pig/conf/default.conf
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/test/e2e/pig/conf/default.conf?rev=1304143&r1=1304142&r2=1304143&view=diff
==============================================================================
--- pig/branches/branch-0.10/test/e2e/pig/conf/default.conf (original)
+++ pig/branches/branch-0.10/test/e2e/pig/conf/default.conf Fri Mar 23 00:00:18 2012
@@ -26,10 +26,12 @@ chomp $me;
 # PH_CLUSTER_CONF   Binary executable for cluster being used
 # PH_PIG      	    Root directory for Pig version being used
 
+my $hdfsBase = $ENV{PH_HDFS_BASE} || "/user/pig";
+
 $cfg = {
     #HDFS
-      'inpathbase'     => '/user/pig/tests/data'
-    , 'outpathbase'    => '/user/pig/out'
+      'inpathbase'     => "$hdfsBase/tests/data"
+    , 'outpathbase'    => "$hdfsBase/out"
 
    #LOCAL
     , 'localinpathbase'   => "$ENV{PH_LOCAL}/in"