|
|
@ -41,7 +41,7 @@ export JAVA_HOME=$JAVA_HOME |
|
|
|
#export JAVA_HOME=/opt/soft/jdk |
|
|
|
#export JAVA_HOME=/opt/soft/jdk |
|
|
|
export HOSTNAME=`hostname` |
|
|
|
export HOSTNAME=`hostname` |
|
|
|
|
|
|
|
|
|
|
|
export DOLPHINSCHEDULER_PID_DIR=/tmp/ |
|
|
|
export DOLPHINSCHEDULER_PID_DIR=$DOLPHINSCHEDULER_HOME/pid |
|
|
|
export DOLPHINSCHEDULER_LOG_DIR=$DOLPHINSCHEDULER_HOME/logs |
|
|
|
export DOLPHINSCHEDULER_LOG_DIR=$DOLPHINSCHEDULER_HOME/logs |
|
|
|
export DOLPHINSCHEDULER_CONF_DIR=$DOLPHINSCHEDULER_HOME/conf |
|
|
|
export DOLPHINSCHEDULER_CONF_DIR=$DOLPHINSCHEDULER_HOME/conf |
|
|
|
export DOLPHINSCHEDULER_LIB_JARS=$DOLPHINSCHEDULER_HOME/lib/* |
|
|
|
export DOLPHINSCHEDULER_LIB_JARS=$DOLPHINSCHEDULER_HOME/lib/* |
|
|
@ -54,7 +54,7 @@ if [ ! -d "$DOLPHINSCHEDULER_LOG_DIR" ]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
log=$DOLPHINSCHEDULER_LOG_DIR/dolphinscheduler-$command-$HOSTNAME.out |
|
|
|
log=$DOLPHINSCHEDULER_LOG_DIR/dolphinscheduler-$command-$HOSTNAME.out |
|
|
|
pid=$DOLPHINSCHEDULER_LOG_DIR/dolphinscheduler-$command.pid |
|
|
|
pid=$DOLPHINSCHEDULER_PID_DIR/dolphinscheduler-$command.pid |
|
|
|
|
|
|
|
|
|
|
|
cd $DOLPHINSCHEDULER_HOME |
|
|
|
cd $DOLPHINSCHEDULER_HOME |
|
|
|
|
|
|
|
|
|
|
|