Support Questions
Find answers, ask questions, and share your expertise

Cannot view Zeppelin Interpreters after enabling Security

Super Collaborator

Hello everyone, Using HDP 2.5 sandbox, I have enabled authc and added couple of users in shiro.ini from Ambari. Able to login in Zeppelin also but I cannot view the interpreters that were there when authentication was disabled. Do I have to create Interpreters for separate users? Am I missing something? Please help

8 REPLIES 8

Expert Contributor

@mrizvi, have you restarted your Zeppelin server after enabling authentication?

Super Collaborator

Thanks for the reply @lgeorge, yes I did restart Ambari through REST API calls:

#stop service

curl -u admin:admin -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"Stop ZEPPELIN via REST"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}' http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/ZEPPELIN

#start service

curl -u admin:admin -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"Start ZEPPELIN via REST"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}' http://sandbox.hortonworks.com:8080/api/v1/clusters/Sandbox/services/ZEPPELIN

It did not give any exceptions in that. Tried restarting directly from Ambari as well, but no luck

Expert Contributor

New Contributor

did you find fix to this problem?

Super Collaborator

nope, not yet

Set zeppelin.anonymous.allowed=false in Zeppelin configs

Ancil. I'm having this same issue not being able to see the interpreter once enabling user logins. I also followed your advice and set zeppelin.anonymous.allowed=false but the Interpreter tab cannot be seen nor are they loaded.

What would be the next suspect? thanks. -Colin

Super Collaborator

@Colin Cunningham

See my answer for your another question, it should be same problem with interpreter not being visible after disabling anonymous. https://community.hortonworks.com/questions/81509/how-do-i-recover-missing-zeppelin-interpreter-tab....