Last change
on this file 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:
580 bytes
|
Rev | Line | |
---|
[120] | 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 | NUM_OF_REDUCERS=1 |
---|
| 8 | INDIR=${VARCOMPSEQ} |
---|
| 9 | Date=`date +%F-%H-%M-%S-%N` |
---|
| 10 | |
---|
| 11 | OUTDIR=perf-out/webdata-scan-out-dir-large_$Date |
---|
| 12 | ${HADOOP_HOME}/bin/hadoop dfs -rmr $OUTDIR |
---|
| 13 | |
---|
| 14 | ${HADOOP_HOME}/bin/hadoop jar $APP_JAR loadgen -keepmap 0.2 -keepred 5 -inFormat org.apache.hadoop.mapred.SequenceFileInputFormat -outFormat org.apache.hadoop.mapred.SequenceFileOutputFormat -outKey org.apache.hadoop.io.Text -outValue org.apache.hadoop.io.Text -indir $INDIR -outdir $OUTDIR -r $NUM_OF_REDUCERS |
---|
Note: See
TracBrowser
for help on using the repository browser.