Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Knox UI Mapping Problem - ResourceManager Web UI

Re: Knox UI Mapping Problem - ResourceManager Web UI

New Contributor

/gateway/default/static/... shouldn't exist, knox rewrites the /static/... from the namenode to /gateway/default/hdfs/static/... on the way to you and does the opposite transform on the way to the namenode.

Re: Knox UI Mapping Problem - ResourceManager Web UI

New Contributor

Hello Andreas, Looks like I am in a similar situation as yours. Oozie & hive are working but yarn, Ambari & Ranger UI are failing with 404. Did you manage to solve the issue. Can you please guide on the steps. Thank you.

Re: Knox UI Mapping Problem - ResourceManager Web UI

New Contributor

Hello @Andreas Schild

Hope you finally solve the issue.

If not i faced the same; here is what i did to solve it :

- i found that the file /usr/hdp/current/knox-server/data/services/hdfsui/2.7.0/rewrite.xml was not changing the url (according to https://xxx:8443/gateway/default/hdfs/static/jquery) for jquery files instead you have https://xxx:8443/static/jquery. It is shown in the below screenshots :

namenode-information-google-chrome-2.jpg

namenode-information-google-chrome.jpg

- So to solve it, i manually add missing files in rewrite.xml according to this know bug https://issues.apache.org/jira/browse/KNOX-765

Regards

Donald F.

Re: Knox UI Mapping Problem - ResourceManager Web UI

New Contributor

Hi @dfossouo,

at first, thank you for your answer and your informations.

No, it doesn't work. We had several open cases at Hortonworks but nobody found a solution for it. We also have this problem with YARN UI and Zeppelin UI. I tried to add the missing files in the rewrite.xml but it's still the same issue.

Thanks & Regards,

Andreas

Re: Knox UI Mapping Problem - ResourceManager Web UI

New Contributor

Hi @Andreas Schild,

I am not able to curl from the name node, Please suggest what could be the issue.

[user@DEVEDGENODE$ curl -i http://<namenode>:50070/static/bootstrap-3.0.2/js/bootstrap.min.js curl: (7) Failed connect to <namenode>:50070; Connection refused

Please suggest

Highlighted

Re: Knox UI Mapping Problem - ResourceManager Web UI

Expert Contributor
<namenode>

is the issue