Created on 02-16-2017 09:01 AM - edited 08-19-2019 04:35 AM
I would like to map the ResourceManager Web UI with Knox.
I've set up the topology like:
<service> <role>YARNUI</role> <url>http://{{rm_host}}:8088/</url> </service> <service> <role>HDFSUI</role> <url>http://{{namenode_host}}:50070/</url> </service>
But the browser can't load the .css and .javascript from RM UI. "This page will not function without javascript enabled. Please enable javascript on your browser."
I'm using Google Chrome but there are the same problems with Internet Explorer.
JavaScript is working and RM UI directly is working as well. Developer Tool from Chrome: Failed to load resource: the server responded with a status of 404 (Not Found)
Same Problems with NameNode UI.
Can somebody help me please, or are there known problems?
Thanks, Andreas
Created 04-12-2017 05:32 AM
/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.
Created 10-23-2017 03:43 AM
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.
Created 02-09-2018 04:22 PM
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.
Created 02-12-2018 11:59 AM
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
Created 01-08-2019 07:16 PM
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
Created 01-08-2019 11:35 PM
<namenode>
is the issue
Created 10-31-2022 01:36 AM
CDH-6.2 nginx for proxy namenode, same issue