Unverified Commit a31d88e5 authored by nzh9900's avatar nzh9900 Committed by GitHub

[Fix-1744][script] Fix startup class error in anto.sh (#1747)

parent 3e35c6ea
......@@ -40,7 +40,7 @@ tips() {
start() {
pid=$(cat ${PID_PATH}/${PID_FILE})
if [ -z $pid ]; then
nohup java -Ddruid.mysql.usePingMethod=false -Xms512M -Xmx2048M -XX:PermSize=512M -XX:MaxPermSize=1024M -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -cp ${CLASS_PATH} com.dlink.Dlink >/dev/null 2>&1 &
nohup java -Ddruid.mysql.usePingMethod=false -Xms512M -Xmx2048M -XX:PermSize=512M -XX:MaxPermSize=1024M -XX:+HeapDumpOnOutOfMemoryError -Xverify:none -cp ${CLASS_PATH} org.dinky.Dinky >/dev/null 2>&1 &
echo $! >${PID_PATH}/${PID_FILE}
echo "FLINK VERSION : $FLINK_VERSION"
echo "........................................Start Dinky Successfully........................................"
......@@ -52,7 +52,7 @@ start() {
startWithJmx() {
pid=$(cat ${PID_PATH}/${PID_FILE})
if [ -z $pid ]; then
nohup java -Ddruid.mysql.usePingMethod=false -Xms512M -Xmx2048M -XX:PermSize=512M -XX:MaxPermSize=1024M -XX:+HeapDumpOnOutOfMemoryError -Xverify:none ${JMX} -cp ${CLASS_PATH} com.dlink.Dlink >/dev/null 2>&1 &
nohup java -Ddruid.mysql.usePingMethod=false -Xms512M -Xmx2048M -XX:PermSize=512M -XX:MaxPermSize=1024M -XX:+HeapDumpOnOutOfMemoryError -Xverify:none ${JMX} -cp ${CLASS_PATH} org.dinky.Dinky >/dev/null 2>&1 &
echo $! >${PID_PATH}/${PID_FILE}
echo "........................................Start Dlink Successfully........................................"
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment