Permalink
Browse files

Merge pull request #6 from arbenson/master

Check alternate streaming jar path
  • Loading branch information...
klbostee committed May 20, 2012
2 parents f39161b + f9c39de commit bec04ddef9a34fc980337d8187a0d1fb82f51b19
Showing with 4 additions and 0 deletions.
  1. +4 −0 build.sh
View
@@ -5,6 +5,10 @@ HADOOP_HOME="/usr/lib/hadoop"
HADOOP_JAR="`echo $HADOOP_HOME/hadoop-*-core.jar`"
STREAMING_JAR="`echo $HADOOP_HOME/contrib/streaming/hadoop-*-streaming.jar`"
+if STREAMING_JAR==""; then
+ STREAMING_JAR="`echo $HADOOP_HOME/contrib/streaming/hadoop-streaming-*.jar`"
+fi
+
rm -rf classes 2> /dev/null
rm feathers.jar 2> /dev/null
if test "$1" = clean; then exit; fi

0 comments on commit bec04dd

Please sign in to comment.