123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License. Kerberos, LDAP, Custom. Binary/Htt
- -->
- <view>
- <name>SLIDER</name>
- <label>Slider Apps View</label>
- <version>1.0.0</version>
- <parameter>
- <name>ambari.server.url</name>
- <description>Ambari Server Cluster REST API URL (for example:
- http://ambari.server:8080/api/v1/clusters/c1)</description>
- <required>true</required>
- </parameter>
- <parameter>
- <name>ambari.server.username</name>
- <description>Cluster Operator username (for example: admin)
- </description>
- <required>true</required>
- </parameter>
- <parameter>
- <name>ambari.server.password</name>
- <description>Cluster Operator password (for example: admin)
- </description>
- <required>true</required>
- <masked>true</masked>
- </parameter>
- <parameter>
- <name>slider.user</name>
- <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.
- Administrators should check that the HDFS home folder for that user is created and accessible.
- </description>
- <required>false</required>
- </parameter>
- <parameter>
- <name>view.kerberos.principal</name>
- <description>Kerberos principal associated with this view. For example: ambari/_HOST@EXAMPLE.COM.
- Administrators should make sure that HDFS service has the 'hadoop.proxyuser.[user].groups' and 'hadoop.proxyuser.[user].hosts' configs populated in 'core-site.xml'.
- </description>
- <required>false</required>
- </parameter>
- <parameter>
- <name>view.kerberos.principal.keytab</name>
- <description>Path to the Kerberos principal keytab used for view's user. For example: /etc/security/keytabs/ambari.headless.keytab
- Administrators should make sure that HDFS service has the 'hadoop.proxyuser.[user].groups' and 'hadoop.proxyuser.[user].hosts' configs populated in 'core-site.xml'.
- </description>
- <required>false</required>
- </parameter>
- <resource>
- <name>status</name>
- <service-class>org.apache.ambari.view.slider.rest.ViewStatusResource</service-class>
- </resource>
- <resource>
- <name>app</name>
- <plural-name>apps</plural-name>
- <id-property>id</id-property>
- <resource-class>org.apache.ambari.view.slider.SliderApp</resource-class>
- <provider-class>org.apache.ambari.view.slider.SliderAppsResourceProvider</provider-class>
- <service-class>org.apache.ambari.view.slider.rest.SliderAppsResource</service-class>
- </resource>
- <resource>
- <name>apptype</name>
- <plural-name>apptypes</plural-name>
- <id-property>id</id-property>
- <resource-class>org.apache.ambari.view.slider.SliderAppType</resource-class>
- <provider-class>org.apache.ambari.view.slider.SliderAppTypesResourceProvider</provider-class>
- <service-class>org.apache.ambari.view.slider.rest.SliderAppTypesResource</service-class>
- </resource>
- </view>
|