Support Questions

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

How can I enable user impersonation in hive interpreter in zeppelin? My queries are getting submitted as anonymous user instead of user through which I have logged in.

Explorer
 
2 REPLIES 2

Mentor

@Akash Mendiratta

Have you tried changing the shiro.ini entries to test the different options?

[urls]
# This section is used for url-based security.
# You can secure interpreter, configuration and credential information by urls. Comment or uncomment the below urls that you want to hide.
# anon means the access is anonymous.
# authc means Form based Auth Security
# To enfore security, comment the line below and uncomment the next one
/api/version = anon
#/api/interpreter/** = authc, roles[admin]
#/api/configurations/** = authc, roles[admin]
#/api/credential/** = authc, roles[admin]
#/** = anon
/** = authc

Let me know

Explorer

Yes. We have made those changes. Whenever I enable user impersonation in the interpreter for hive, and submits a query. The query gets submitted as anonymous user.

For SH and SPARK interpreter it works

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