Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Zeppelin Impersonation giving InterpreterException

New Contributor

I have created a user for Zeppelin using basic authentication in Ambari (Shiro):

user1 = abc123456, datascience

datascience = *

Then I created the same user-role in Ranger, using the UI.

Then in Zeppelin, logged as that user, I create a notebook which uses a Hive interpreter with impersonation. When I launch the query:


I get the following exception:

Host key verification failed.

	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.reference(
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getFormType(
	at org.apache.zeppelin.notebook.Paragraph.jobRun(
	at org.apache.zeppelin.scheduler.RemoteScheduler$
	at java.util.concurrent.Executors$
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(
	at java.util.concurrent.ScheduledThreadPoolExecutor$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

What am I doing wrong?



when you use impersonation you must have system users created in the OS with the same name which you have in zeppelin shiro.ini (user1 in your case)

Expert Contributor

Following this thread.

Also facing this kind of error on our cluster. We did not experience this on our dev env.

All users/accounts are available to all nodes across cluster.

BTW, I'm using PAM auth module for user-impersonation.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.