|
|
@ -19,6 +19,7 @@ |
|
|
|
BIN_DIR=$(dirname $0) |
|
|
|
BIN_DIR=$(dirname $0) |
|
|
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)} |
|
|
|
DOLPHINSCHEDULER_HOME=${DOLPHINSCHEDULER_HOME:-$(cd $BIN_DIR/..; pwd)} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 700 -R ${DOLPHINSCHEDULER_HOME} |
|
|
|
export DOLPHINSCHEDULER_WORK_HOME=${DOLPHINSCHEDULER_HOME} |
|
|
|
export DOLPHINSCHEDULER_WORK_HOME=${DOLPHINSCHEDULER_HOME} |
|
|
|
|
|
|
|
|
|
|
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Xms4g -Xmx4g -Xmn2g -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"} |
|
|
|
JAVA_OPTS=${JAVA_OPTS:-"-server -Xms4g -Xmx4g -Xmn2g -XX:+PrintGCDetails -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof"} |
|
|
|