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 | |
---|
3 | GRID_DIR=`dirname "$0"` |
---|
4 | GRID_DIR=`cd "$GRID_DIR"; pwd` |
---|
5 | source $GRID_DIR/../gridmix-env |
---|
6 | |
---|
7 | for ((i=0; i < $NUM_OF_SMALL_JOBS_PER_CLASS; i++)) |
---|
8 | do |
---|
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 |
---|
15 | done |
---|
16 | |
---|
17 | for ((i=0; i < $NUM_OF_MEDIUM_JOBS_PER_CLASS; i++)) |
---|
18 | do |
---|
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 |
---|
24 | done |
---|
25 | |
---|
26 | for ((i=0; i < $NUM_OF_LARGE_JOBS_PER_CLASS; i++)) |
---|
27 | do |
---|
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 |
---|
33 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.