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 00:59:05 UTC
svn commit: r1304142 - in /pig/branches/branch-0.9: CHANGES.txt
test/e2e/pig/conf/default.conf
Author: daijy
Date: Thu Mar 22 23:59:05 2012
New Revision: 1304142
URL: http://svn.apache.org/viewvc?rev=1304142&view=rev
Log:
PIG-2609: e2e harness: make hdfs base path configurable (outside default.conf)
Modified:
pig/branches/branch-0.9/CHANGES.txt
pig/branches/branch-0.9/test/e2e/pig/conf/default.conf
Modified: pig/branches/branch-0.9/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/CHANGES.txt?rev=1304142&r1=1304141&r2=1304142&view=diff
==============================================================================
--- pig/branches/branch-0.9/CHANGES.txt (original)
+++ pig/branches/branch-0.9/CHANGES.txt Thu Mar 22 23:59:05 2012
@@ -22,6 +22,8 @@ Release 0.9.3 - Unreleased
BUG FIXES
+PIG-2609: e2e harness: make hdfs base path configurable (outside default.conf) (thw via daijy)
+
PIG-2590: running ant tar and rpm targets on same copy of pig source results in problems (thejas)
PIG-2588: e2e harness: use pig command for cluster deploy (thw via daijy)
Modified: pig/branches/branch-0.9/test/e2e/pig/conf/default.conf
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.9/test/e2e/pig/conf/default.conf?rev=1304142&r1=1304141&r2=1304142&view=diff
==============================================================================
--- pig/branches/branch-0.9/test/e2e/pig/conf/default.conf (original)
+++ pig/branches/branch-0.9/test/e2e/pig/conf/default.conf Thu Mar 22 23:59:05 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"