Skip to content

Commit

Permalink
PIG-2609: e2e harness: make hdfs base path configurable (outside defa…
Browse files Browse the repository at this point in the history
…ult.conf)

git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1304144 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jianyong Dai committed Mar 23, 2012
1 parent 841f336 commit f9a6eb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,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-2588: e2e harness: use pig command for cluster deploy (thw via daijy)
Expand Down
6 changes: 4 additions & 2 deletions test/e2e/pig/conf/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ chomp $me;
# HADOOP_CONF_DIR 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"
Expand Down

0 comments on commit f9a6eb4

Please sign in to comment.