############################################################################
# Phoenix Configurations
############################################################################

# Should Phoenix be setup
#
# Specify yes or no.  Defaults to no.
#
# If PHOENIX_SETUP is enabled, this will inform Magpie to setup a
# configuration files and environment variables that will hopefully
# make it easier to run Phoenix w/ HBase.  You could leave this disabled
# and setup/config Phoenix as you need.
#
export PHOENIX_SETUP=no

# Phoenix Version
#
export PHOENIX_VERSION="PHOENIXVERSIONDEFAULT"

# Path to your Phoenix build/binaries
#
# This should be accessible on all nodes in your allocation. Typically
# this is in an NFS mount.
#
# Ensure the build matches the hbase version this will run against.
#
export PHOENIX_HOME="PHOENIXDIRPREFIX/apache-phoenix-${PHOENIX_VERSION}-bin"

# Path to store data local to each cluster node, typically something
# in /tmp.  This will store local conf files and log files for your
# job.  If local scratch space is not available, consider using the
# MAGPIE_NO_LOCAL_DIR option.  See README for more details.
#
export PHOENIX_LOCAL_DIR="LOCALDIRPREFIX/phoenix"

# Directory where alternate Phoenix configuration templates are stored
#
# If you wish to tweak the configuration files used by Magpie, set
# PHOENIX_CONF_FILES below, copy configuration templates from
# $MAGPIE_SCRIPTS_HOME/conf/phoenix into PHOENIX_CONF_FILES, and
# modify as you desire.  Magpie will still use configuration files in
# $MAGPIE_SCRIPTS_HOME/conf/phoenix if any of the files it needs are not
# found in PHOENIX_CONF_FILES.
#
# export PHOENIX_CONF_FILES="${HOME}/myconf"

# Start Phoenix with queryserver per regionserver
#
# Defaults to 'no'
#
# export PHOENIX_START_QUERYSERVER="no"

# Set phoenix job for MAGPIE_JOB_TYPE = phoenix
#
# "performanceeval" - run performance evaluation write and read.
#              Useful for making sure things are setup the way you
#              like.
#
# "script" - execute a phoenix script indicated by PHOENIX_SCRIPT_PATH.
#            Unlike "script" in MAGPIE_JOB_TYPE, this script is
#            executed via the 'sqline.py' command.
#
export PHOENIX_JOB="performanceeval"

# Specify script to execute for "script" mode in PHOENIX_JOB.  This phoenix
# script will be fed into phoenix via "sqline.py ${PHOENIX_SCRIPT_OPTS} ${PHOENIX_SCRIPT_PATH}"
#
# export PHOENIX_SCRIPT_PATH="${HOME}/my-phoenix-script"

# Specify options to specify when calling phoenix.
#
# export PHOENIX_SCRIPT_OPTS=""

# Phoenix Query Server Opts
#
# Extra Java runtime options
#
# export PHOENIX_QUERYSERVER_EXTRA_OPTS="-Djava.io.tmpdir=${PHOENIX_LOCAL_JOB_DIR}/tmp"

############################################################################
## PHOENIX Performance Evaluation Configurations
#############################################################################

# For "performanceeval" mode.  Rows each client will run.
#
# Defaults to 100000
#
# export PHOENIX_PERFORMANCEEVAL_ROW_COUNT=PHOENIXDEFAULTPERFORMANCEEVALROWCOUNT

