config.env.sh 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. #============================================================================
  17. # Database
  18. #============================================================================
  19. # postgresql
  20. DATABASE_TYPE=postgresql
  21. DATABASE_DRIVER=org.postgresql.Driver
  22. DATABASE_HOST=dolphinscheduler-postgresql
  23. DATABASE_PORT=5432
  24. DATABASE_USERNAME=root
  25. DATABASE_PASSWORD=root
  26. DATABASE_DATABASE=dolphinscheduler
  27. DATABASE_PARAMS=characterEncoding=utf8
  28. # mysql
  29. # DATABASE_TYPE=mysql
  30. # DATABASE_DRIVER=com.mysql.jdbc.Driver
  31. # DATABASE_HOST=dolphinscheduler-mysql
  32. # DATABASE_PORT=3306
  33. # DATABASE_USERNAME=root
  34. # DATABASE_PASSWORD=root
  35. # DATABASE_DATABASE=dolphinscheduler
  36. # DATABASE_PARAMS=useUnicode=true&characterEncoding=UTF-8
  37. #============================================================================
  38. # Registry
  39. #============================================================================
  40. REGISTRY_PLUGIN_NAME=zookeeper
  41. REGISTRY_SERVERS=dolphinscheduler-zookeeper:2181
  42. #============================================================================
  43. # Common
  44. #============================================================================
  45. # common opts
  46. DOLPHINSCHEDULER_OPTS=
  47. # common env
  48. DATA_BASEDIR_PATH=/tmp/dolphinscheduler
  49. RESOURCE_STORAGE_TYPE=HDFS
  50. RESOURCE_UPLOAD_PATH=/dolphinscheduler
  51. FS_DEFAULT_FS=file:///
  52. FS_S3A_ENDPOINT=s3.xxx.amazonaws.com
  53. FS_S3A_ACCESS_KEY=xxxxxxx
  54. FS_S3A_SECRET_KEY=xxxxxxx
  55. HADOOP_SECURITY_AUTHENTICATION_STARTUP_STATE=false
  56. JAVA_SECURITY_KRB5_CONF_PATH=/opt/krb5.conf
  57. LOGIN_USER_KEYTAB_USERNAME=hdfs@HADOOP.COM
  58. LOGIN_USER_KEYTAB_PATH=/opt/hdfs.keytab
  59. KERBEROS_EXPIRE_TIME=2
  60. HDFS_ROOT_USER=hdfs
  61. RESOURCE_MANAGER_HTTPADDRESS_PORT=8088
  62. YARN_RESOURCEMANAGER_HA_RM_IDS=
  63. YARN_APPLICATION_STATUS_ADDRESS=http://ds1:%s/ws/v1/cluster/apps/%s
  64. YARN_JOB_HISTORY_STATUS_ADDRESS=http://ds1:19888/ws/v1/history/mapreduce/jobs/%s
  65. DATASOURCE_ENCRYPTION_ENABLE=false
  66. DATASOURCE_ENCRYPTION_SALT=!@#$%^&*
  67. SUDO_ENABLE=true
  68. # dolphinscheduler env
  69. HADOOP_HOME=/opt/soft/hadoop
  70. HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop
  71. SPARK_HOME1=/opt/soft/spark1
  72. SPARK_HOME2=/opt/soft/spark2
  73. PYTHON_HOME=/usr/bin/python
  74. JAVA_HOME=/usr/local/openjdk-8
  75. HIVE_HOME=/opt/soft/hive
  76. FLINK_HOME=/opt/soft/flink
  77. DATAX_HOME=/opt/soft/datax
  78. #============================================================================
  79. # Master Server
  80. #============================================================================
  81. MASTER_SERVER_OPTS=-Xms1g -Xmx1g -Xmn512m
  82. MASTER_EXEC_THREADS=100
  83. MASTER_EXEC_TASK_NUM=20
  84. MASTER_DISPATCH_TASK_NUM=3
  85. MASTER_HOST_SELECTOR=LowerWeight
  86. MASTER_HEARTBEAT_INTERVAL=10
  87. MASTER_TASK_COMMIT_RETRYTIMES=5
  88. MASTER_TASK_COMMIT_INTERVAL=1000
  89. MASTER_MAX_CPULOAD_AVG=-1
  90. MASTER_RESERVED_MEMORY=0.3
  91. #============================================================================
  92. # Worker Server
  93. #============================================================================
  94. WORKER_SERVER_OPTS=-Xms1g -Xmx1g -Xmn512m
  95. WORKER_EXEC_THREADS=100
  96. WORKER_HEARTBEAT_INTERVAL=10
  97. WORKER_HOST_WEIGHT=100
  98. WORKER_MAX_CPULOAD_AVG=-1
  99. WORKER_RESERVED_MEMORY=0.3
  100. WORKER_GROUPS=default
  101. ALERT_LISTEN_HOST=dolphinscheduler-alert
  102. #============================================================================
  103. # Alert Server
  104. #============================================================================
  105. ALERT_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m
  106. #============================================================================
  107. # Api Server
  108. #============================================================================
  109. API_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m
  110. #============================================================================
  111. # Logger Server
  112. #============================================================================
  113. LOGGER_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m