[ 
https://issues.apache.org/jira/browse/AMBARI-21325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179658#comment-16179658
 ] 

Balázs Bence Sári commented on AMBARI-21325:
--------------------------------------------

Hey [~cmirashi],

I am testing this patch. Made a few changes and had to rewrite the knox paths 
for most of the services except HDFS. I noticed that Spark2/Jobhistory UI needs 
the 2.1.0 version of Knox's SPARKHISTORYUI service definition (service.xml and 
rewrite.xml). The Knox coming with HDP 2.6 only has the 1.4.0 version of the 
service definition. Which HDP/Knox version does it work with out of the box? If 
there is no such HDP, could you attach the steps for adding SPARKHISTORYUI 
2.1.0 definition to Knox?

cc [~lmccay]

> Ability to switch Quick Links to use Service URL through Knox or given proxy
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-21325
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21325
>             Project: Ambari
>          Issue Type: Improvement
>    Affects Versions: trunk, 2.5.2, 2.5.3
>            Reporter: Jeffrey E  Rodriguez
>            Assignee: Chandana Mirashi
>         Attachments: 21325_test_results.zip, AMBARI-21325.patch, 
> AMBARI-21325-rebased.patch
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> Knox has the ability to proxy Hadoop user interfaces URL. Having the ability 
> to setup Quicklinks  through Knox so instead of for example going to "Hbase 
> Master UI" directly we can proxy through Knox for example: 
> http://hdpjeff1.fyre.ibm.com:16010/master-status
> can be instead go through: 
> https://hdpjeff1.fyre.ibm.com:8443/gateway/default/hbase/hbaseui/master-status
> Here https://hdpjeff1.fyre.ibm.com:8443/gateway is the Knox gateway URL.
> This will bring authentication to the UI access and would secure the UI 
> access.
> Ideally this behavior can be set as secure going through proxy by default or 
> it can be turn off to go directly by Ambari Admin.
> Changes added:
> 1. Add new json properties knox_url, knox_path, supports_knox 
>    a. knox_url: template to be used for urls that are proxied through Knox
>    b. knox_path: Knox gateway path that will be added to the proxy url.
>    c. supports_knox: whether link will be redirected through Knox
> 2. Add above json properties to quicklinks.json 
> 3. Add HDFSUI & DATANODE,YARNUI & NODEUI, JOBHISTORYUI, HBASEUI, OOZIEUI, 
> SPARKUI services to Knox topology template.
> 4. Automate protocol and port added to Knox topology file. Based on whether 
> SSL is enabled for the services  listed above, the port and protocol in 
> params_linux.py will be updated.
> 5. Update quick_view_link_view.js so that when Knox is installed and 
> support_knox is true, quicklink url follows knox url template specified in 
> the quicklinks.json for the service/component.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to