source: proiecte/HadoopJUnit/hadoop-0.20.1/src/benchmarks/gridmix/webdatasort/webdata_sort.small @ 120

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: 631 bytes
Line 
1#!/usr/bin/env bash
2
3GRID_DIR=`dirname "$0"`
4GRID_DIR=`cd "$GRID_DIR"; pwd`
5source $GRID_DIR/../gridmix-env
6
7NUM_OF_REDUCERS=$NUM_OF_REDUCERS_FOR_SMALL_JOB
8INDIR=${VARCOMPSEQ}/part-00000
9Date=`date +%F-%H-%M-%S-%N`
10
11export OUTDIR=perf-out/webdata-sort-out-dir-small_$Date
12${HADOOP_HOME}/bin/hadoop dfs -rmr $OUTDIR
13
14${HADOOP_HOME}/bin/hadoop jar $APP_JAR loadgen -keepmap 100 -keepred 100 -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
15
16
Note: See TracBrowser for help on using the repository browser.