Last change
on this file since 120 was
120,
checked in by (none), 14 years ago
|
Added the mail files for the Hadoop JUNit Project
|
-
Property svn:executable set to
*
|
File size:
448 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash |
---|
2 | |
---|
3 | GRID_DIR=`dirname "$0"` |
---|
4 | GRID_DIR=`cd "$GRID_DIR"; pwd` |
---|
5 | source $GRID_DIR/../gridmix-env |
---|
6 | |
---|
7 | export NUM_OF_REDUCERS=$NUM_OF_REDUCERS_FOR_LARGE_JOB |
---|
8 | export INDIR=${VARINFLTEXT} |
---|
9 | Date=`date +%F-%H-%M-%S-%N` |
---|
10 | |
---|
11 | export OUTDIR=perf-out/stream-out-dir-large_$Date |
---|
12 | ${HADOOP_HOME}/bin/hadoop dfs -rmr $OUTDIR |
---|
13 | |
---|
14 | |
---|
15 | ${HADOOP_HOME}/bin/hadoop jar ${STREAM_JAR} -input $INDIR -output $OUTDIR -mapper cat -reducer cat -numReduceTasks $NUM_OF_REDUCERS |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.