Hey there!
I am building a Dataproc cluster that has Ranger enabled. The cluster runs without any issues and I am able to access all the endpoints of components that run on my cluster, such as Solr, HDFS, or my Spark History Server without any problems except for Ranger. The Ranger component returns me a 404 when I try to access its endpoint.
The /ranger endpoint forwards me to the /login.jsp endpoint, where I get the 404 error. But the true path to Rangers login page is /ranger/login.jsp which is blocked and not accessible through the outside.
Ranger runs without any problems internally. Here is a curl from inside my cluster to the ranger port:
curl -vvv -u admin http://localhost:6080
2023-11-20 10:12:26,984 [http-nio-6080-exec-6] INFO [SpringEventListener.java:74] Login Successful:admin | Ip Address:127.0.0.1 | sessionId=80A8F2A24E0FDDDB9FE544412BF476A4 | Epoch=170047514698
Aside from the 404 error, there are no indications that the cluster has any larger issues. There are also no firewall rules or lack of firewall rules that could prevent me from accessing ranger from the outside.
I think it is an issue with Dataproc and its configuration, since all the components work just fine internally (even Ranger).
If someone has ever encountered this issue i would be thankful, if you could guide me through the steps of resolving this issue.
Thanks!