common.properties.tpl 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. #task queue implementation, default "zookeeper"
  18. dolphinscheduler.queue.impl=${TASK_QUEUE}
  19. #zookeeper cluster. multiple are separated by commas. eg. 192.168.xx.xx:2181,192.168.xx.xx:2181,192.168.xx.xx:2181
  20. zookeeper.quorum=${ZOOKEEPER_QUORUM}
  21. #dolphinscheduler root directory
  22. zookeeper.dolphinscheduler.root=/dolphinscheduler
  23. #dolphinscheduler failover directory
  24. zookeeper.session.timeout=300
  25. zookeeper.connection.timeout=300
  26. zookeeper.retry.base.sleep=100
  27. zookeeper.retry.max.sleep=30000
  28. zookeeper.retry.maxtime=5
  29. #============================================================================
  30. # System
  31. #============================================================================
  32. # system env path. self configuration, please make sure the directory and file exists and have read write execute permissions
  33. dolphinscheduler.env.path=${DOLPHINSCHEDULER_ENV_PATH}
  34. #resource.view.suffixs
  35. resource.view.suffixs=txt,log,sh,conf,cfg,py,java,sql,hql,xml,properties
  36. # is development state? default "false"
  37. development.state=true
  38. # user data directory path, self configuration, please make sure the directory exists and have read write permissions
  39. data.basedir.path=${DOLPHINSCHEDULER_DATA_BASEDIR_PATH}
  40. # directory path for user data download. self configuration, please make sure the directory exists and have read write permissions
  41. data.download.basedir.path=${DOLPHINSCHEDULER_DATA_DOWNLOAD_BASEDIR_PATH}
  42. # process execute directory. self configuration, please make sure the directory exists and have read write permissions
  43. process.exec.basepath=${DOLPHINSCHEDULER_PROCESS_EXEC_BASEPATH}
  44. # resource upload startup type : HDFS,S3,NONE
  45. res.upload.startup.type=NONE
  46. #============================================================================
  47. # HDFS
  48. #============================================================================
  49. # Users who have permission to create directories under the HDFS root path
  50. hdfs.root.user=hdfs
  51. # data base dir, resource file will store to this hadoop hdfs path, self configuration, please make sure the directory exists on hdfs and have read write permissions。"/dolphinscheduler" is recommended
  52. data.store2hdfs.basepath=/dolphinscheduler
  53. # whether kerberos starts
  54. hadoop.security.authentication.startup.state=false
  55. # java.security.krb5.conf path
  56. java.security.krb5.conf.path=/opt/krb5.conf
  57. # loginUserFromKeytab user
  58. login.user.keytab.username=hdfs-mycluster@ESZ.COM
  59. # loginUserFromKeytab path
  60. login.user.keytab.path=/opt/hdfs.headless.keytab
  61. #============================================================================
  62. # S3
  63. #============================================================================
  64. # ha or single namenode,If namenode ha needs to copy core-site.xml and hdfs-site.xml
  65. # to the conf directory,support s3,for example : s3a://dolphinscheduler
  66. fs.defaultFS=hdfs://mycluster:8020
  67. # s3 need,s3 endpoint
  68. fs.s3a.endpoint=http://192.168.199.91:9010
  69. # s3 need,s3 access key
  70. fs.s3a.access.key=A3DXS30FO22544RE
  71. # s3 need,s3 secret key
  72. fs.s3a.secret.key=OloCLq3n+8+sdPHUhJ21XrSxTC+JK
  73. #resourcemanager ha note this need ips , this empty if single
  74. yarn.resourcemanager.ha.rm.ids=192.168.xx.xx,192.168.xx.xx
  75. # If it is a single resourcemanager, you only need to configure one host name. If it is resourcemanager HA, the default configuration is fine
  76. yarn.application.status.address=http://ark1:8088/ws/v1/cluster/apps/%s