common.properties.tpl 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. #============================================================================
  18. # System
  19. #============================================================================
  20. # system env path. self configuration, please make sure the directory and file exists and have read write execute permissions
  21. dolphinscheduler.env.path=${DOLPHINSCHEDULER_ENV_PATH}
  22. # user data directory path, self configuration, please make sure the directory exists and have read write permissions
  23. data.basedir.path=${DOLPHINSCHEDULER_DATA_BASEDIR_PATH}
  24. # resource upload startup type : HDFS,S3,NONE
  25. resource.storage.type=NONE
  26. #============================================================================
  27. # HDFS
  28. #============================================================================
  29. # resource store on HDFS/S3 path, 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
  30. #resource.upload.path=/dolphinscheduler
  31. # whether kerberos starts
  32. #hadoop.security.authentication.startup.state=false
  33. # java.security.krb5.conf path
  34. #java.security.krb5.conf.path=/opt/krb5.conf
  35. # loginUserFromKeytab user
  36. #login.user.keytab.username=hdfs-mycluster@ESZ.COM
  37. # loginUserFromKeytab path
  38. #login.user.keytab.path=/opt/hdfs.headless.keytab
  39. #resource.view.suffixs
  40. #resource.view.suffixs=txt,log,sh,conf,cfg,py,java,sql,hql,xml,properties
  41. # if resource.storage.type=HDFS, the user need to have permission to create directories under the HDFS root path
  42. hdfs.root.user=hdfs
  43. # kerberos expire time
  44. kerberos.expire.time=7
  45. #============================================================================
  46. # S3
  47. #============================================================================
  48. # if resource.storage.type=S3,the value like: s3a://dolphinscheduler ; if resource.storage.type=HDFS, When namenode HA is enabled, you need to copy core-site.xml and hdfs-site.xml to conf dir
  49. fs.defaultFS=hdfs://mycluster:8020
  50. # if resource.storage.type=S3,s3 endpoint
  51. #fs.s3a.endpoint=http://192.168.199.91:9010
  52. # if resource.storage.type=S3,s3 access key
  53. #fs.s3a.access.key=A3DXS30FO22544RE
  54. # if resource.storage.type=S3,s3 secret key
  55. #fs.s3a.secret.key=OloCLq3n+8+sdPHUhJ21XrSxTC+JK
  56. # if not use hadoop resourcemanager, please keep default value; if resourcemanager HA enable, please type the HA ips ; if resourcemanager is single, make this value empty TODO
  57. yarn.resourcemanager.ha.rm.ids=192.168.xx.xx,192.168.xx.xx
  58. # If resourcemanager HA enable or not use resourcemanager, please keep the default value; If resourcemanager is single, you only need to replace ark1 to actual resourcemanager hostname.
  59. yarn.application.status.address=http://ark1:8088/ws/v1/cluster/apps/%s