dolphin-env.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <configuration>
  18. <property>
  19. <name>dolphin.database.type</name>
  20. <value>mysql</value>
  21. <description>Dolphin Scheduler DataBase Type Which Is Select</description>
  22. <display-name>Dolphin Database Type</display-name>
  23. <value-attributes>
  24. <type>value-list</type>
  25. <entries>
  26. <entry>
  27. <value>mysql</value>
  28. <label>Mysql</label>
  29. </entry>
  30. <entry>
  31. <value>postgresql</value>
  32. <label>Postgresql</label>
  33. </entry>
  34. </entries>
  35. <selection-cardinality>1</selection-cardinality>
  36. </value-attributes>
  37. <on-ambari-upgrade add="true"/>
  38. </property>
  39. <property>
  40. <name>dolphin.database.host</name>
  41. <value></value>
  42. <display-name>Dolphin Database Host</display-name>
  43. <on-ambari-upgrade add="true"/>
  44. </property>
  45. <property>
  46. <name>dolphin.database.port</name>
  47. <value></value>
  48. <display-name>Dolphin Database Port</display-name>
  49. <on-ambari-upgrade add="true"/>
  50. </property>
  51. <property>
  52. <name>dolphin.database.username</name>
  53. <value></value>
  54. <display-name>Dolphin Database Username</display-name>
  55. <on-ambari-upgrade add="true"/>
  56. </property>
  57. <property>
  58. <name>dolphin.database.password</name>
  59. <value></value>
  60. <display-name>Dolphin Database Password</display-name>
  61. <property-type>PASSWORD</property-type>
  62. <value-attributes>
  63. <type>password</type>
  64. </value-attributes>
  65. <on-ambari-upgrade add="true"/>
  66. </property>
  67. <property>
  68. <name>dolphin.user</name>
  69. <value></value>
  70. <description>Which user to install and admin dolphin scheduler</description>
  71. <display-name>Deploy User</display-name>
  72. <on-ambari-upgrade add="true"/>
  73. </property>
  74. <property>
  75. <name>dolphin.group</name>
  76. <value></value>
  77. <description>Which user to install and admin dolphin scheduler</description>
  78. <display-name>Deploy Group</display-name>
  79. <on-ambari-upgrade add="true"/>
  80. </property>
  81. <property>
  82. <name>dolphinscheduler-env-content</name>
  83. <display-name>Dolphinscheduler Env template</display-name>
  84. <description>This is the jinja template for dolphinscheduler.env.sh file</description>
  85. <value>#
  86. # Licensed to the Apache Software Foundation (ASF) under one or more
  87. # contributor license agreements. See the NOTICE file distributed with
  88. # this work for additional information regarding copyright ownership.
  89. # The ASF licenses this file to You under the Apache License, Version 2.0
  90. # (the "License"); you may not use this file except in compliance with
  91. # the License. You may obtain a copy of the License at
  92. #
  93. # http://www.apache.org/licenses/LICENSE-2.0
  94. #
  95. # Unless required by applicable law or agreed to in writing, software
  96. # distributed under the License is distributed on an "AS IS" BASIS,
  97. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  98. # See the License for the specific language governing permissions and
  99. # limitations under the License.
  100. #
  101. export HADOOP_HOME=/opt/soft/hadoop
  102. export HADOOP_CONF_DIR=/opt/soft/hadoop/etc/hadoop
  103. export SPARK_HOME1=/opt/soft/spark1
  104. export SPARK_HOME2=/opt/soft/spark2
  105. export PYTHON_HOME=/opt/soft/python
  106. export JAVA_HOME=/opt/soft/java
  107. export HIVE_HOME=/opt/soft/hive
  108. export FLINK_HOME=/opt/soft/flink
  109. export DATAX_HOME=/opt/soft/datax</value>
  110. <value-attributes>
  111. <type>content</type>
  112. <empty-value-valid>false</empty-value-valid>
  113. <show-property-name>false</show-property-name>
  114. </value-attributes>
  115. <on-ambari-upgrade add="true"/>
  116. </property>
  117. </configuration>