api server startup modify (#986)

* add ConnectionFactoryTest and ConnectionFactory read datasource from appliction.yml

* .escheduler_env.sh to dolphinscheduler_env.sh

* dao yml assembly to conf directory

* table name modify

* entity title table  name modify

* logback log name modify

* running through the big process

* running through the big process error modify

* logback log name modify

* data_source.properties rename

* logback log name modify

* install.sh optimization

* install.sh optimization

* command count modify

* command state update

* countCommandState sql update

* countCommandState sql update

* remove application.yml file

* master.properties modify

* install.sh modify

* install.sh modify

* api server startup modify
This commit is contained in:
qiaozhanwei 2019-10-11 15:08:36 +08:00 committed by lgcareer
parent e2f66e2343
commit 9b836aa5dd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
logging.config=classpath:apiserver_logback.xml
# server port
server.port=12345
@ -17,3 +19,5 @@ spring.messages.encoding=UTF-8
#i18n classpath folder , file prefix messages if have many files, use "," seperator
spring.messages.basename=i18n/messages

View File

@ -41,7 +41,7 @@ pid=$DOLPHINSCHEDULER_LOG_DIR/dolphinscheduler-$command.pid
cd $DOLPHINSCHEDULER_HOME
if [ "$command" = "api-server" ]; then
LOG_FILE="-Dlogging.config=conf/apiserver_logback.xml"
LOG_FILE="-Dspring.profiles.active=api"
CLASS=org.apache.dolphinscheduler.api.ApiApplicationServer
elif [ "$command" = "master-server" ]; then
LOG_FILE="-Dspring.profiles.active=master -Ddruid.mysql.usePingMethod=false"