blob: 62d71ce5f8012ff2f2399287f81d0159489e3762 [file] [log] [blame]
CC_HOST=$1
NC_ID=$2
if [ ! -d $LOG_DIR ];
then
mkdir -p $LOG_DIR
fi
if [ ! -z $3 ];
then
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=$3,server=y,suspend=n"
fi
$HYRACKS_HOME/bin/hyracksnc -node-id $NC_ID -cc-host $CC_HOST -cc-port 1099 -cluster-net-ip-address $IP_LOCATION -data-ip-address $IP_LOCATION &> $LOG_DIR/${NC_ID}.log