You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2018/04/06 02:00:01 UTC

[jira] [Work started] (KNOX-1236) Support service discovery for YARNUIV2

     [ https://issues.apache.org/jira/browse/KNOX-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KNOX-1236 started by Phil Zampino.
------------------------------------------
> Support service discovery for YARNUIV2
> --------------------------------------
>
>                 Key: KNOX-1236
>                 URL: https://issues.apache.org/jira/browse/KNOX-1236
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.1.0
>            Reporter: Phil Zampino
>            Assignee: Phil Zampino
>            Priority: Major
>             Fix For: 1.1.0
>
>
> Add support for discovering service URLs for topology generation involving the new YARNUIV2 service.
> Add the following to gateway-discovery-ambari/src/main/resources/*ambari-service-discovery-url-mappings.xml*
> {noformat}
>     <service name="YARNUIV2">
>         <url-pattern>{SCHEME}://{YARN_RM_WEBAPP_ADDRESS}</url-pattern>
>         <properties>
>             <property name="HTTP_ADDRESS">
>                 <component>RESOURCEMANAGER</component>
>                 <config-property>yarn.resourcemanager.webapp.address</config-property>
>             </property>
>             <property name="HTTPS_ADDRESS">
>                 <component>RESOURCEMANAGER</component>
>                 <config-property>yarn.resourcemanager.webapp.https.address</config-property>
>             </property>
>             <property name="HTTP_POLICY">
>                 <component>RESOURCEMANAGER</component>
>                 <config-property>yarn.http.policy</config-property>
>             </property>
>             <property name="SCHEME">
>                 <config-property>
>                     <if property="HTTP_POLICY" value="HTTPS_ONLY">
>                         <then>https</then>
>                         <else>http</else>
>                     </if>
>                 </config-property>
>             </property>
>             <property name="YARN_RM_WEBAPP_ADDRESS">
>                 <config-property>
>                     <if property="HTTP_POLICY" value="HTTPS_ONLY">
>                         <then>HTTPS_ADDRESS</then>
>                         <else>HTTP_ADDRESS</else>
>                     </if>
>                 </config-property>
>             </property>
>         </properties>
>     </service>
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)