source: proiecte/HadoopJUnit/hadoop-0.20.1/src/benchmarks/gridmix/submissionScripts/webdataSortToSameCluster @ 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: 422 bytes
Line 
1#!/usr/bin/env bash
2
3GRID_DIR=`dirname "$0"`
4GRID_DIR=`cd "$GRID_DIR"; pwd`
5source $GRID_DIR/../gridmix-env
6PROCESSES=""
7
8for ((i=0; i < $NUM_OF_LARGE_JOBS_PER_CLASS; i++))
9do
10    echo $i
11    $GRID_MIX_HOME/webdatasort/webdata_sort.large  2>&1 > webdata_sort.large.$i.out &
12    PROCESSES="${PROCESSES} $!"
13    $GRID_MIX_HOME/submissionScripts/sleep_if_too_busy
14done
15   
16for APROC in ${PROCESSES}; do
17  wait ${APROC}
18done
Note: See TracBrowser for help on using the repository browser.