randerzander / jupyter-service

Ambari Service definition for an Jupyter (IPython3) Notebook service
42 stars 18 forks source link

Kerberos issue #12

Closed facundobianco closed 8 years ago

facundobianco commented 8 years ago

I have a cluster with HDP 2.4.2 and Ambari 2.2.2 with Kerberos authentication on CentOS 7.

After solved the issue in file ambari_helper.py (see issue #6) I try to reinstall Jupyter but I get this message error

resource_management.core.exceptions.Fail: Execution of 'hadoop fs -mkdir -p /user/jupyter' returned 1. 16/07/26 16:08:30 WARN ipc.Client: Exception encountered while connecting to the server : 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]

("Create Principals" and "Create Keytabs" have finished "OK".)

Thanks in advance.

facundobianco commented 8 years ago

I restarted the HDFS service and the issue was solved.