| # Uncomment and set if FLUO_HOME is not set in your environment |
| # #FLUO_HOME=/path/to/fluo-install |
| # |
| ############################## |
| #configuration for all scripts |
| ############################## |
| #Must set Fluo, Accumulo and Zookeeper jars for following two options. |
| export HADOOP_CLASSPATH=`$FLUO_HOME/bin/fluo classpath -a -z` |
| LIB_JARS=`$FLUO_HOME/bin/fluo classpath -a -z -l` |
| #location of the stress jar |
| STRESS_JAR=$BIN_DIR/../target/fluo-stress-0.0.1-SNAPSHOT.jar |
| #application name |
| test -z "$FLUO_APP_NAME" && FLUO_APP_NAME=stress |
| #location of Flup properties file |
| FLUO_PROPS=$FLUO_HOME/apps/$FLUO_APP_NAME/conf/fluo.properties |
| |
| ###################################### |
| #configuration for run-test.sh follows |
| ###################################### |
| #Place where logs from test are placed |
| LOG_DIR=$BIN_DIR/../logs |
| #the maximum number to generate |
| MAX=$((10**9)) |
| #the number of splits to create in table |
| SPLITS=17 |
| #number of mappers to run for data generation, which determines how many files |
| #generation outputs. The number of files determines how many mappers loading |
| #data will run. |
| MAPS=17 |
| #Number of reduce tasks |
| REDUCES=17 |
| #Number of random numbers to generate initially |
| GEN_INIT=$((10**6)) |
| #Number of random numbers to generate for each incremental step. |
| GEN_INCR=$((10**3)) |
| #Number of incremental steps. |
| ITERATIONS=3 |
| #Seconds to sleep between incremental steps. |
| SLEEP=30 |
| #Compact levels with less than the following possible nodes after loads |
| COMPACT_CUTOFF=$((256**3 + 1)) |
| |
| ######################## |
| #config for init-fluo.sh |
| ######################## |
| #Determines whether to attempt to build stress jar |
| BUILD=true |