source: proiecte/HadoopJUnit/hadoop-0.20.1/src/benchmarks/gridmix/submissionScripts/monsterQueriesHod @ 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: 1.1 KB
Line 
1#!/usr/bin/env bash
2
3GRID_DIR=`dirname "$0"`
4GRID_DIR=`cd "$GRID_DIR"; pwd`
5source $GRID_DIR/../gridmix-env
6
7for ((i=0; i < $NUM_OF_SMALL_JOBS_PER_CLASS; i++))
8do
9    echo $i
10    CLUSTER_DIR=$CLUSTER_DIR_BASE/monster_query.small.$i
11    mkdir $CLUSTER_DIR
12
13    hod script -d $CLUSTER_DIR $SMALL_JOB_HOD_OPTIONS -s $GRID_MIX_HOME/monsterQuery/monster_query.small  2>&1 > monster_query.small.$i.out &
14    $GRID_MIX_HOME/submissionScripts/sleep_if_too_busy
15done
16   
17for ((i=0; i < $NUM_OF_MEDIUM_JOBS_PER_CLASS; i++))
18do
19    echo $i
20    CLUSTER_DIR=$CLUSTER_DIR_BASE/monster_query.medium.$i
21    mkdir $CLUSTER_DIR
22    hod script -d $CLUSTER_DIR $MEDIUM_JOB_HOD_OPTIONS -s $GRID_MIX_HOME/monsterQuery/monster_query.medium  2>&1 > monster_query.medium.$i.out &
23    $GRID_MIX_HOME/submissionScripts/sleep_if_too_busy
24done
25
26for ((i=0; i < $NUM_OF_LARGE_JOBS_PER_CLASS; i++))
27do
28    echo $i
29    CLUSTER_DIR=$CLUSTER_DIR_BASE/monster_query.large.$i
30    mkdir $CLUSTER_DIR
31    hod script -d  $CLUSTER_DIR $LARGE_JOB_HOD_OPTIONS -s $GRID_MIX_HOME/monsterQuery/monster_query.large  2>&1 > monster_query.large.$i.out &
32    $GRID_MIX_HOME/submissionScripts/sleep_if_too_busy
33done
Note: See TracBrowser for help on using the repository browser.