view.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License. Kerberos, LDAP, Custom. Binary/Htt
  14. -->
  15. <view>
  16. <name>SLIDER</name>
  17. <label>Slider Apps View</label>
  18. <version>1.0.0</version>
  19. <parameter>
  20. <name>ambari.server.url</name>
  21. <description>Ambari Server Cluster REST API URL (for example:
  22. http://ambari.server:8080/api/v1/clusters/c1)</description>
  23. <required>true</required>
  24. </parameter>
  25. <parameter>
  26. <name>ambari.server.username</name>
  27. <description>Cluster Operator username (for example: admin)
  28. </description>
  29. <required>true</required>
  30. </parameter>
  31. <parameter>
  32. <name>ambari.server.password</name>
  33. <description>Cluster Operator password (for example: admin)
  34. </description>
  35. <required>true</required>
  36. <masked>true</masked>
  37. </parameter>
  38. <parameter>
  39. <name>slider.user</name>
  40. <description>User this view instance should run as. Specifying an empty value runs view as YARN service user (for example 'yarn'). Specifying '{username}' runs the view as the currently logged in user. Specifying any other value runs the view as that user.
  41. Administrators should check that the HDFS home folder for that user is created and accessible.
  42. </description>
  43. <required>false</required>
  44. </parameter>
  45. <parameter>
  46. <name>view.kerberos.principal</name>
  47. <description>Kerberos principal associated with this view. For example: ambari/_HOST@EXAMPLE.COM.
  48. Administrators should make sure that HDFS service has the 'hadoop.proxyuser.[user].groups' and 'hadoop.proxyuser.[user].hosts' configs populated in 'core-site.xml'.
  49. </description>
  50. <required>false</required>
  51. </parameter>
  52. <parameter>
  53. <name>view.kerberos.principal.keytab</name>
  54. <description>Path to the Kerberos principal keytab used for view's user. For example: /etc/security/keytabs/ambari.headless.keytab
  55. Administrators should make sure that HDFS service has the 'hadoop.proxyuser.[user].groups' and 'hadoop.proxyuser.[user].hosts' configs populated in 'core-site.xml'.
  56. </description>
  57. <required>false</required>
  58. </parameter>
  59. <resource>
  60. <name>status</name>
  61. <service-class>org.apache.ambari.view.slider.rest.ViewStatusResource</service-class>
  62. </resource>
  63. <resource>
  64. <name>app</name>
  65. <plural-name>apps</plural-name>
  66. <id-property>id</id-property>
  67. <resource-class>org.apache.ambari.view.slider.SliderApp</resource-class>
  68. <provider-class>org.apache.ambari.view.slider.SliderAppsResourceProvider</provider-class>
  69. <service-class>org.apache.ambari.view.slider.rest.SliderAppsResource</service-class>
  70. </resource>
  71. <resource>
  72. <name>apptype</name>
  73. <plural-name>apptypes</plural-name>
  74. <id-property>id</id-property>
  75. <resource-class>org.apache.ambari.view.slider.SliderAppType</resource-class>
  76. <provider-class>org.apache.ambari.view.slider.SliderAppTypesResourceProvider</provider-class>
  77. <service-class>org.apache.ambari.view.slider.rest.SliderAppTypesResource</service-class>
  78. </resource>
  79. </view>