Skip to content

Commit

Permalink
Hadoop CDPATH bugfix submitted by Lane Schwartz.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpost committed Sep 6, 2012
1 parent 6ddf326 commit 41ceaa5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/training/pipeline.pl
Expand Up @@ -32,6 +32,11 @@ BEGIN
use CachePipe;
# use Thread::Pool;

# Hadoop uses a stupid hacker trick to change directories, but (per Lane Schwartz) if CDPATH
# contains ".", it triggers the printing of the directory, which kills the stupid hacker trick.
# Thus we undefine CDPATH to ensure this doesn't happen.
delete $ENV{CDPATH};

my $HADOOP = $ENV{HADOOP};

my $THRAX = "$JOSHUA/thrax";
Expand Down

0 comments on commit 41ceaa5

Please sign in to comment.