JupyterHub with YARN Spawner doesn't load server

I’m trying to get JupyterHub to work on a YARN cluster. I’m currently using LDAPAuthenticator that works correctly and allows me to login with a LDAP user, but when spawning the server it doesn’t work.

I see in the logs that it tries to connect to ResourceManager at /0.0.0.0:8032 and then says “ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:8032”. It retries sometime until it fails.

Just in case, I’m using Kerberos as well, i reference the principal and keytab in the JuyterHub config file and it says that login was successful.

Do you know what could be wrong here? Thanks in advanced