|
|
@ -65,6 +65,10 @@ if [ "$command" = "api-server" ]; then |
|
|
|
CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer |
|
|
|
CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer |
|
|
|
elif [ "$command" = "master-server" ]; then |
|
|
|
elif [ "$command" = "master-server" ]; then |
|
|
|
HEAP_INITIAL_SIZE=4g |
|
|
|
HEAP_INITIAL_SIZE=4g |
|
|
|
|
|
|
|
HEAP_MAX_SIZE=4g |
|
|
|
|
|
|
|
HEAP_NEW_GENERATION__SIZE=2g |
|
|
|
|
|
|
|
LOG_FILE="-Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false" |
|
|
|
|
|
|
|
CLASS=org.apache.dolphinscheduler.server.master.MasterServer |
|
|
|
elif [ "$command" = "worker-server" ]; then |
|
|
|
elif [ "$command" = "worker-server" ]; then |
|
|
|
HEAP_INITIAL_SIZE=2g |
|
|
|
HEAP_INITIAL_SIZE=2g |
|
|
|
HEAP_MAX_SIZE=2g |
|
|
|
HEAP_MAX_SIZE=2g |
|
|
|