#!/bin/bash if [ "$#" -lt 5 ]; then echo "Usage: " exit -1 fi #set path to hadoop streaming jar here STREAMING_JAR= python ../rabit_hadoop.py -hs $STREAMING_JAR -s $1 -i $2 -m kmeans --args "stdin "$3" "$4" stdout" -o $5