Hi,
I just started to configure knox gateway in order to enforce https protocol and require authentication to access our cluster UIs & services.
I gave a try to yarn UI, following https://knox.apache.org/books/knox-0-9-0/user-guide.html#Yarn+UI documentation, but faced several problems related to wrong URLs :
First, the "main" UI works as expected using following URL :
https://knoxserver:8443/gateway/{cluster}/yarn
=> It properly displays the list of all the yarn applications.
If I click on one application in this screen, it displays the details about this application (the application type is "MAPREDUCE")
Next, if I click on the "Logs" link for the first attempt of the application, my browser complains about the URL, because this URL is something similar to
"http://https//knoxserver:8443/gateway/pam/yarn/nodemanager/node/containerlogs/container_e70_1499097971447_0001_01_000001/..."
Similarly, if I click on the "History" link (next to "Tracking URL:" label), my browser displays the details about the M/R job, but all the links in this page are wrongs because they miss "gateway/{cluster}/yarn" in their URL.
As an example, here is the URL for the "1" link for successfull Maps operations :
https://knoxserver:8443/jobhistory/attempts/job_1499097971447_0001/m/SUCCESSFUL
It seems to be a problem due to the way these pages are built...?
Is there a way to fix/workaround this problem with "rewrite" rules in knox service configuration ? I dont think so but as I'm a beginer with knox stuff, I prefer ask to you guys
Thanks for your help