Hi Benjamin,

Thanks for the pointer to the IBM page. I will take a look at the new rules 
that they have added but also Larry is right in suspecting KNOX-711 for some of 
your issues. I do hope that the IBM guys continue to contribute changes in open 
source as they were the original contributors of the JS/HTML rewrite 
functionality.

Sumit.


From: larry mccay <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, May 13, 2016 at 7:26 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Full Support of Hadoop Web UIs? (for instance YARN)

Hi Benjamin -

KNOX-711 is going to be working addressing issues related to the fact that 
rewrite rules for a service definition are treated globally to the topology by 
default.
The reason this was originally designed this way was for REST API responses 
that returned URLs that needed to be rewritten by other services.
For instance, Oozie returns payloads with WebHDFS URLs, etc.

When we started with UI proxying, the global rewrite rules more often match 
each other and result in improperly rewritten URLs.
If you look at the page source and find that some URLs have the wrong 
service/UI names then that is the issue that you are likely looking at.
This is often on the CSS files.

The current workaround is to put these UIs in separate topology files. This 
will unfortunately make the URLs differ from UI to UI for the time being but 
will not have the rules collide.

We are in the process of scoping our 0.9.1 release with this issue as one of 
the driving usecases.

Please do let me know if that is the issue that you are seeing.

thanks,

--larry

On Fri, May 13, 2016 at 7:11 AM, Ruland, Benjamin 
<[email protected]<mailto:[email protected]>> 
wrote:
Hey guys,

for me, one of the main goals for using Knox is centralizing all Hadoop 
Management UIs in one place (on the edge node). But: Looking at the current 
status of Knox, for example for the WebUI of YARN, it seems that the support 
for those UIs is currently only implemented partially.

For instance, jumping to the nodemanagers, Applications masters or even parts 
of the Resource Manager UI does not work (at least in my test environment using 
the service-definitions out of the latest mirror of Knox).

I saw that the guys from IBM have extended the rewrite-Script a bit in their 
BigInsights Hadoop Distribution:
http://www-01.ibm.com/support/docview.wss?uid=swg21980169

Are there plans to further develop the UI-Redirections (for instance for YARN) 
or incorporate the progress of IBM?

Best regards,
Benjamin



-----------------------------------
Computacenter AG & Co. oHG, mit Sitz in Kerpen
(Amtsgericht Köln HRA 18096)
Vertretungsberechtigte Gesellschafter:
Computacenter Aktiengesellschaft, mit Sitz in Köln (Amtsgericht Köln HRB 28384)
Vorstand: Tony Conophy
Aufsichtsrat: Michael Norris (Vorsitzender)
Computacenter Management GmbH, mit Sitz in Köln (Amtsgericht Köln HRB 28284)
Geschäftsführer: Dr. Karsten Freihube, Dr. Christine Haupt, Dr. Thomas 
Kottmann, Reiner Louis, Thomas Jescheck
Visit us on the Internet: 
http://www.computacenter.de<http://www.computacenter.de/>
Visit our Online-Shop: 
https://shop.computacenter.de<https://shop.computacenter.de/>

This email is confidential. If you are not the intended recipient, you must not 
disclose or use the information contained in it. If you have received this mail 
in error, please tell us immediately by return email and delete the document.
-----------------------------------

Reply via email to