<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HDP 2.5 + Zeppelin 0.6 + LDAP : Interpreters are not shown when zeppelin is configured with LDAP in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170290#M41844</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11295/slachterman.html" nodeid="11295"&gt;@slachterman&lt;/A&gt; thanks for the response. I tried adding the zeppelin in zeppelin.server.addr. But again the error is same&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2016 21:04:35 GMT</pubDate>
    <dc:creator>pankaj_singh</dc:creator>
    <dc:date>2016-09-27T21:04:35Z</dc:date>
    <item>
      <title>HDP 2.5 + Zeppelin 0.6 + LDAP : Interpreters are not shown when zeppelin is configured with LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170288#M41842</link>
      <description>&lt;P&gt;Problem is the interpreters are not visible after configuring LDAP. &lt;/P&gt;&lt;P&gt;Found a similar problem at &lt;A href="https://community.hortonworks.com/questions/54516/zeppelin-interpreters-disappear-when-security-is-e.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/questions/54516/zeppelin-interpreters-disappear-when-security-is-e.html&lt;/A&gt; but the steps mentioned there did not solved the issue&lt;/P&gt;&lt;P&gt;Am i missing something ?&lt;/P&gt;&lt;P&gt;Below in the value for variable shiro_ini_content in zeppelin -&amp;gt; configs&lt;/P&gt;&lt;PRE&gt;[users]

# Sample LDAP configuration, for user Authentication, currently tested for single Realm
[main]
activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm
activeDirectoryRealm.systemUsername = zeppelin
activeDirectoryRealm.systemPassword = test@123
activeDirectoryRealm.hadoopSecurityCredentialPath = jceks://user/zeppelin/zeppelin.jceks
activeDirectoryRealm.searchBase = cn=Users,dc=test,dc=testdomain,dc=com
activeDirectoryRealm.url = ldap://ad-nano.test.testdomain.com:389
activeDirectoryRealm.groupRolesMap = "cn=zeppelin,cn=Users,dc=test,dc=testdomain,dc=com":"admin"
activeDirectoryRealm.authorizationCachingEnabled = true

shiro.loginUrl = /api/login

[roles]
admin=*
[urls]
/api/version = anon
#/** = anon
/** = authc
&lt;/PRE&gt;&lt;P&gt;I was able to successfully login but clicking on interpreters did not show anything&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8012-screen-shot-2016-09-26-at-111047-pm.png" style="width: 2870px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20101i0C49034E3F579F19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8012-screen-shot-2016-09-26-at-111047-pm.png" alt="8012-screen-shot-2016-09-26-at-111047-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below is the output from zeppelin log file&lt;/P&gt;&lt;PRE&gt;WARN [2016-09-26 17:37:41,581] ({qtp687241927-17} LoginRestApi.java[postLogin]:111) - {"status":"OK","message":"","body":{"principal":"zeppelin","ticket":"82b92434-fe54-496b-9d70-0d1f83afe812","roles":"[]"}}
WARN [2016-09-26 17:37:50,361] ({qtp687241927-15} ServletHandler.java[doHandle]:620) -
javax.servlet.ServletException: Filtered request failed.
 at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:384)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 at org.apache.zeppelin.server.CorsFilter.doFilter(CorsFilter.java:72)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
 at org.eclipse.jetty.server.Server.handle(Server.java:499)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
 at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
 at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;
 at javax.ws.rs.WebApplicationException.validate(WebApplicationException.java:186)
 at javax.ws.rs.ClientErrorException.&amp;lt;init&amp;gt;(ClientErrorException.java:88)
 at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:503)
 at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:207)
 at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:103)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
 at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
 at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)
 at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
 at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
 at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
 at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
 at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
 at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
 at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
 at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
 at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
 at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
 at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
 at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
 at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
 ... 22 more

 &lt;/PRE&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:45:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170288#M41842</guid>
      <dc:creator>pankaj_singh</dc:creator>
      <dc:date>2019-08-18T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 + Zeppelin 0.6 + LDAP : Interpreters are not shown when zeppelin is configured with LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170289#M41843</link>
      <description>&lt;P&gt;Do you have zeppelin.server.addr set to the actual IP or host of the Zeppelin server?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 01:56:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170289#M41843</guid>
      <dc:creator>slachterman</dc:creator>
      <dc:date>2016-09-27T01:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 + Zeppelin 0.6 + LDAP : Interpreters are not shown when zeppelin is configured with LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170290#M41844</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11295/slachterman.html" nodeid="11295"&gt;@slachterman&lt;/A&gt; thanks for the response. I tried adding the zeppelin in zeppelin.server.addr. But again the error is same&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 21:04:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170290#M41844</guid>
      <dc:creator>pankaj_singh</dc:creator>
      <dc:date>2016-09-27T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.5 + Zeppelin 0.6 + LDAP : Interpreters are not shown when zeppelin is configured with LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170291#M41845</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/48/pankajsingh.html" nodeid="48"&gt;@pankaj singh&lt;/A&gt; I documented this and have the list of interpreters working&lt;/P&gt;&lt;P&gt;
	use this tutorial: &lt;A href="https://community.hortonworks.com/content/kbentry/65449/ow-to-setup-a-multi-user-active-directory-backed-z.html"&gt;https://community.hortonworks.com/content/kbentry/65449/ow-to-setup-a-multi-user-active-directory-backed-z.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the critical section in shiro.ini:&lt;/P&gt;&lt;PRE&gt;sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 86400000&lt;/PRE&gt;&lt;P&gt;
	Here is the excerpt of valid shiro.ini&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;[users]&lt;/LI&gt;&lt;LI&gt;# List of users with their password allowed to access Zeppelin.&lt;/LI&gt;&lt;LI&gt;# To use a different strategy (LDAP / Database / ...) check the shiro doc at &lt;A href="http://shiro.apache.org/configuration.html#Configuration-INISections" target="_blank"&gt;http://shiro.apache.org/configuration.html#Configuration-INISections&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;#admin = password1&lt;/LI&gt;&lt;LI&gt;#user1 = password2, role1, role2&lt;/LI&gt;&lt;LI&gt;#user2 = password3, role3&lt;/LI&gt;&lt;LI&gt;#user3 = password4, role2&lt;/LI&gt;&lt;LI&gt;# Sample LDAP configuration, for user Authentication, currently tested for single Realm&lt;/LI&gt;&lt;LI&gt;[main]&lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm = org.apache.zeppelin.server.ActiveDirectoryGroupRealm &lt;/LI&gt;&lt;LI&gt;#activeDirectoryRealm.systemUsername = CN=binduser,OU=ServiceUsers,DC=sampledcfield,DC=hortonworks,DC=com&lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.systemUsername = binduser&lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.systemPassword = xxxxxx &lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.principalSuffix = @your.domain.name&lt;/LI&gt;&lt;LI&gt;#activeDirectoryRealm.hadoopSecurityCredentialPath = jceks://user/zeppelin/zeppelin.jceks &lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.searchBase = DC=sampledcfield,DC=hortonworks,DC=com&lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.url = ldaps://ad01.your.domain.name:636 &lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.groupRolesMap = "CN=hadoop-admins,OU=CorpUsers,DC=sampledcfield,DC=hortonworks,DC=com":"admin"&lt;/LI&gt;&lt;LI&gt;activeDirectoryRealm.authorizationCachingEnabled = true &lt;/LI&gt;&lt;LI&gt;sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager &lt;/LI&gt;&lt;LI&gt;cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager &lt;/LI&gt;&lt;LI&gt;securityManager.cacheManager = $cacheManager &lt;/LI&gt;&lt;LI&gt;securityManager.sessionManager = $sessionManager &lt;/LI&gt;&lt;LI&gt;securityManager.sessionManager.globalSessionTimeout = 86400000 &lt;/LI&gt;&lt;LI&gt;#ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm&lt;/LI&gt;&lt;LI&gt;#ldapRealm.userDnTemplate = uid={0},cn=users,cn=accounts,dc=example,dc=com&lt;/LI&gt;&lt;LI&gt;#ldapRealm.contextFactory.url = ldap://ldaphost:389&lt;/LI&gt;&lt;LI&gt;#ldapRealm.contextFactory.authenticationMechanism = SIMPLE&lt;/LI&gt;&lt;LI&gt;#sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager&lt;/LI&gt;&lt;LI&gt;#securityManager.sessionManager = $sessionManager&lt;/LI&gt;&lt;LI&gt;# 86,400,000 milliseconds = 24 hour&lt;/LI&gt;&lt;LI&gt;#securityManager.sessionManager.globalSessionTimeout = 86400000&lt;/LI&gt;&lt;LI&gt;shiro.loginUrl = /api/login&lt;/LI&gt;&lt;LI&gt;[roles] &lt;/LI&gt;&lt;LI&gt;admin = * &lt;/LI&gt;&lt;LI&gt;[urls] &lt;/LI&gt;&lt;LI&gt;# anon means the access is anonymous. &lt;/LI&gt;&lt;LI&gt;# authcBasic means Basic Auth Security &lt;/LI&gt;&lt;LI&gt;# To enfore security, comment the line below and uncomment the next one &lt;/LI&gt;&lt;LI&gt;/api/version = anon &lt;/LI&gt;&lt;LI&gt;/api/interpreter/** = authc, roles[admin] &lt;/LI&gt;&lt;LI&gt;/api/credential/** = authc, roles[admin] &lt;/LI&gt;&lt;LI&gt;/api/configurations/** = authc, roles[admin] &lt;/LI&gt;&lt;LI&gt;#/** = anon &lt;/LI&gt;&lt;LI&gt;/** = authc &lt;/LI&gt;&lt;LI&gt;#/** = authcBasic&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 12 Nov 2016 01:27:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-5-Zeppelin-0-6-LDAP-Interpreters-are-not-shown-when/m-p/170291#M41845</guid>
      <dc:creator>azeltov</dc:creator>
      <dc:date>2016-11-12T01:27:34Z</dc:date>
    </item>
  </channel>
</rss>

