/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.
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.
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 :
- 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
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,
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