<?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: The application won't work without a running HiveServer2 and Access denied erors after enabling in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79788#M42348</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sentry will use OS group lookup to resolve group membership.&amp;nbsp; Are you using OS level configuration that maps to LDAP users?&amp;nbsp; Also, being an Admin does not grant any access to servers; rather, it gives grant privlige.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we really need to do is clearly define what you have configured in terms of grants and user/group membership so we can start to clarify what you expect to have happen and what is actually happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- is the grants you have made that you perceive are not having the desired effect&lt;/P&gt;&lt;P&gt;- the result of "id -Gn &amp;lt;user&amp;gt;"&lt;/P&gt;&lt;P&gt;- groups that are listed as Sentry Admin Groups&lt;/P&gt;&lt;P&gt;- test results with beeline (to remove the level of abstraction introduced by Hue).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 19:15:33 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2018-09-13T19:15:33Z</dc:date>
    <item>
      <title>The application won't work without a running HiveServer2 and Access denied erors after enabling LDAP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79391#M42343</link>
      <description>&lt;P&gt;Cloudera Express 5.9.3&lt;/P&gt;&lt;P&gt;Hue 3.11&lt;/P&gt;&lt;P&gt;Sentry is enabled, admin groups are added to&amp;nbsp;Admin Groups and admin users are added into Allowed Connecting Users in the Setry configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSSD is enabled on the servers, this means that users exist only in LDAP, but can log in into OS using their LDAP credentials. Admin users accounts exist in servers OS and match admin users accounts made in LDAP (and also match admin users accounts in Hue).&lt;/P&gt;&lt;P&gt;System account such as hue, hive, cloudera-scm etc aslo made in LDAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After enabling LDAP for Hue adn Hive I recieve errors&lt;/P&gt;&lt;P&gt;Potential misconfiguration detected. Fix and restart Hue.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Hive&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;The application won't work without a running HiveServer2.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;When trying to enter Security - Hive tables an error &lt;STRONG&gt;Access denied to&lt;/STRONG&gt; user occure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Query Editors- Hive &lt;STRONG&gt;Bad status: 3 (PLAIN auth failed: LDAP Authentication failed for user) (code THRIFTTRANSPORT): TTransportException('Bad status: 3 (PLAIN auth failed: LDAP Authentication failed for user)',)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hive log:&lt;/P&gt;&lt;P&gt;org.apache.thrift.transport.TTransportException: PLAIN auth failed: LDAP Authentication failed for user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried all the advices, posted here, nothing helped.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79391#M42343</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2022-09-16T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79459#M42344</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want Hue to authenticate to Hive via LDAP, you need to make sure you have configured the username and password of an LDAP user hue can use for auth:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[beeswax]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;auth_username=hue&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;auth_password=&amp;lt;hue_password&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above assumes you have a user named "hue" in your ldap server who can authenticate.&lt;/P&gt;&lt;P&gt;You would add this to &lt;STRONG&gt;Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to use &lt;STRONG&gt;kerberos&lt;/STRONG&gt; for Hue to authenticate, then do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In CM &amp;gt; Hive &amp;gt; Configuration &amp;gt; Advanced &amp;gt; &lt;STRONG&gt;Hive Client Advanced Configuration Snippet (Safety Valve) for hive-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name: &lt;STRONG&gt;hive.server2.authentication&lt;/STRONG&gt;&lt;BR /&gt;Value: &lt;STRONG&gt;kerberos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restart Hue Service&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reason&lt;/STRONG&gt;:&amp;nbsp; Hue picks up its Hive authentication method from the hive-site.xml that is emitted.&amp;nbsp; If you enable LDAP authentication in Hive, the hive.server2.authentication becomes &lt;STRONG&gt;LDAP&lt;/STRONG&gt; which Hue will then try to use.&amp;nbsp; To tell Hue to use &lt;STRONG&gt;kerberos&lt;/STRONG&gt;, you can use the above technique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 16:14:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79459#M42344</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-09-06T16:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79590#M42345</link>
      <description>&lt;P&gt;Thank you for the answer. The application won't work without a running HiveServer2 error disappeared and Hive Query Editor doesn't show any mistakes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Sentry still gives Access denied to admin despite the fact that the user admin in in admin group everywhere: LDAP, Hue, OS&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 14:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79590#M42345</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-10T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79703#M42346</link>
      <description>&lt;P&gt;&lt;STRONG&gt;It seems that Sentry does not get the correct group for the user from LDAP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG org.apache.hadoop.security.LdapGroupsMapping: doGetGroups(maslova) return [llord]&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ERROR org.apache.sentry.provider.db.generic.service.thrift.SentryGenericPolicyProcessor: Access denied to maslova&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LDAP groups:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn: cn=admins,ou=Groups,dc=dom&lt;/P&gt;&lt;P&gt;objectClass: top&lt;/P&gt;&lt;P&gt;objectClass: posixGroup&lt;/P&gt;&lt;P&gt;cn: admins&lt;/P&gt;&lt;P&gt;gidNumber: 1500&lt;/P&gt;&lt;P&gt;memberUid: llord&lt;/P&gt;&lt;P&gt;memberUid: lmaslova&lt;/P&gt;&lt;P&gt;memberUid: maslova&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn: cn=llord,ou=Groups,dc=dom&lt;/P&gt;&lt;P&gt;objectClass: top&lt;/P&gt;&lt;P&gt;objectClass: posixGroup&lt;/P&gt;&lt;P&gt;cn: llord&lt;/P&gt;&lt;P&gt;gidNumber: 1050&lt;/P&gt;&lt;P&gt;memberUid: llord&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why does it happen?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other part of log looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;15:59:30,697 DEBUG org.apache.sentry.hdfs.UpdateForwarder: #### GetAllUpdatesFrom [type=class org.apache.sentry.hdfs.UpdateablePermissions, reqSeqNum=122, lastCommit=121, lastSeen=121, getMaxUpdateLogSize()=17]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,697 DEBUG org.apache.sentry.hdfs.UpdateForwarder: #### GetAllUpdatesFrom [type=class org.apache.sentry.hdfs.UpdateableAuthzPaths, reqSeqNum=354, lastCommit=353, lastSeen=353, getMaxUpdateLogSize()=49]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,697 DEBUG org.apache.sentry.hdfs.SentryHDFSServiceProcessor: #### Updates requested from HDFS [permReq=122, permResp=&amp;lt;&amp;gt;] [pathReq=354, pathResp=&amp;lt;&amp;gt;]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,697 DEBUG org.apache.thrift.transport.TSaslTransport: data length before wrap: 59&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,697 DEBUG org.apache.thrift.transport.TSaslTransport: writing data length: 119&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,834 DEBUG org.apache.thrift.transport.TSaslServerTransport: transport map does not contain key&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,834 DEBUG org.apache.thrift.transport.TSaslTransport: opening transport org.apache.thrift.transport.TSaslServerTransport@68760f85&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,872 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status START and payload length 6&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,872 DEBUG org.apache.thrift.transport.TSaslServerTransport: Received start message with status START&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,872 DEBUG org.apache.thrift.transport.TSaslServerTransport: Received mechanism name 'GSSAPI'&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,873 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Start message handled&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,873 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status OK and payload length 647&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,875 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status OK and payload length 108&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,890 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status OK and payload length 0&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,890 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status OK and payload length 32&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,895 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status OK and payload length 32&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,896 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status COMPLETE and payload length 0&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,896 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Main negotiation loop complete&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,896 DEBUG org.apache.thrift.transport.TSaslServerTransport: transport map does contain key org.apache.thrift.transport.TSocket@589a07cc&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,900 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: reading data length: 150&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,901 DEBUG org.apache.thrift.transport.TSaslTransport: data length after unwrap: 90&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,928 DEBUG org.apache.hadoop.security.LdapGroupsMapping: doGetGroups(llord) return [llord]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,937 DEBUG DataNucleus.Persistence: ExecutionContext "org.datanucleus.ExecutionContextThreadedImpl@45ca0e75" opened for datastore "org.datanucleus.store.rdbms.RDBMSStoreManager@7b3d95a6" with txn="org.datanucleus.TransactionImpl@229250c3"&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,938 DEBUG DataNucleus.Transaction: Transaction created [DataNucleus Transaction, ID=Xid=���пїЅ, enlisted resources=[]]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,938 DEBUG DataNucleus.Transaction: Transaction begun for ExecutionContext org.datanucleus.ExecutionContextThreadedImpl@45ca0e75 (optimistic=false)&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,938 DEBUG DataNucleus.Query: Query "SELECT UNIQUE FROM org.apache.sentry.provider.db.service.model.MSentryGroup WHERE this.groupName == :groupName FetchPlan [default]" of language "JDOQL" has been run before so reusing existing generic compilation&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,938 DEBUG DataNucleus.Query: Query "SELECT UNIQUE FROM org.apache.sentry.provider.db.service.model.MSentryGroup WHERE this.groupName == :groupName FetchPlan [default]" of language "JDOQL" for datastore "rdbms-postgresql" has been run before so reusing existing datastore compilation&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Connection: Connection "com.jolbox.bonecp.ConnectionHandle@6f1f6551" opened with isolation level "read-committed" and auto-commit=false&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Transaction: Running enlist operation on resource: org.datanucleus.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@11cdd1bc, error code TMNOFLAGS and transaction: [DataNucleus Transaction, ID=Xid=���пїЅ, enlisted resources=[]]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Connection: Managed connection org.datanucleus.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@11cdd1bc is starting for transaction Xid=���пїЅ with flags 0&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Connection: Connection added to the pool : org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl@79c69080 [conn=com.jolbox.bonecp.ConnectionHandle@6f1f6551, commitOnRelease=false, closeOnRelease=false, closeOnTxnEnd=true] for key=org.datanucleus.ExecutionContextThreadedImpl@45ca0e75 in factory=ConnectionFactory:tx[org.datanucleus.store.rdbms.ConnectionFactoryImpl@48684f4a]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Query: JDOQL Query : Executing "SELECT UNIQUE FROM org.apache.sentry.provider.db.service.model.MSentryGroup WHERE this.groupName == :groupName" ...&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,943 DEBUG DataNucleus.Datastore: Closing PreparedStatement "com.jolbox.bonecp.PreparedStatementHandle@5b3901f5"&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,944 DEBUG DataNucleus.Datastore.Native: SELECT 'org.apache.sentry.provider.db.service.model.MSentryGroup' AS NUCLEUS_TYPE,"A0"."CREATE_TIME","A0"."GROUP_NAME","A0"."GROUP_ID" FROM "SENTRY_GROUP" "A0" WHERE "A0"."GROUP_NAME" = &amp;lt;'llord'&amp;gt;&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,948 DEBUG DataNucleus.Datastore.Retrieve: Execution Time = 4 ms&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,948 DEBUG DataNucleus.Query: JDOQL Query : Execution Time = 5 ms&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,948 DEBUG DataNucleus.Transaction: Transaction rolling back for ExecutionContext org.datanucleus.ExecutionContextThreadedImpl@45ca0e75&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,949 DEBUG DataNucleus.Transaction: Rolling back [DataNucleus Transaction, ID=Xid=���пїЅ, enlisted resources=[org.datanucleus.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@11cdd1bc]]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,949 DEBUG DataNucleus.Connection: Managed connection org.datanucleus.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@11cdd1bc is rolling back for transaction Xid=���пїЅ&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Connection: Managed connection org.datanucleus.store.rdbms.ConnectionFactoryImpl$EmulatedXAResource@11cdd1bc rolled back connection for transaction Xid=���пїЅ&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Connection: Connection "com.jolbox.bonecp.ConnectionHandle@6f1f6551" closed&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Connection: Connection removed from the pool : org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl@79c69080 [conn=com.jolbox.bonecp.ConnectionHandle@6f1f6551, commitOnRelease=false, closeOnRelease=false, closeOnTxnEnd=true] for key=org.datanucleus.ExecutionContextThreadedImpl@45ca0e75 in factory=ConnectionFactory:tx[org.datanucleus.store.rdbms.ConnectionFactoryImpl@48684f4a]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Transaction: Transaction rolled back in 3 ms&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Cache: Level 1 Cache cleared&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG DataNucleus.Persistence: ExecutionContext "org.datanucleus.ExecutionContextThreadedImpl@45ca0e75" closed&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG org.apache.thrift.transport.TSaslTransport: data length before wrap: 69&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:30,951 DEBUG org.apache.thrift.transport.TSaslTransport: writing data length: 129&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,037 DEBUG org.apache.thrift.transport.TSaslServerTransport: transport map does not contain key&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,037 DEBUG org.apache.thrift.transport.TSaslTransport: opening transport org.apache.thrift.transport.TSaslServerTransport@2bb3ecd5&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,039 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status START and payload length 6&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,039 DEBUG org.apache.thrift.transport.TSaslServerTransport: Received start message with status START&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,039 DEBUG org.apache.thrift.transport.TSaslServerTransport: Received mechanism name 'GSSAPI'&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,040 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Start message handled&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,040 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status OK and payload length 593&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,041 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status OK and payload length 108&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,043 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status OK and payload length 0&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,043 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status OK and payload length 32&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,044 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Received message with status COMPLETE and payload length 32&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,045 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Writing message with status COMPLETE and payload length 0&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,045 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: Main negotiation loop complete&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,045 DEBUG org.apache.thrift.transport.TSaslServerTransport: transport map does contain key org.apache.thrift.transport.TSocket@49ea2734&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,046 DEBUG org.apache.thrift.transport.TSaslTransport: SERVER: reading data length: 190&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,046 DEBUG org.apache.thrift.transport.TSaslTransport: data length after unwrap: 130&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,047 DEBUG DataNucleus.Persistence: ExecutionContext "org.datanucleus.ExecutionContextThreadedImpl@45ca0e75" opened for datastore "org.datanucleus.store.rdbms.RDBMSStoreManager@7b3d95a6" with txn="org.datanucleus.TransactionImpl@37d7d90f"&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,047 DEBUG DataNucleus.Transaction: Transaction created [DataNucleus Transaction, ID=Xid=���пїЅ, enlisted resources=[]]&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,047 DEBUG DataNucleus.Transaction: Transaction begun for ExecutionContext org.datanucleus.ExecutionContextThreadedImpl@45ca0e75 (optimistic=false)&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,048 DEBUG DataNucleus.Query: Query "SELECT FROM org.apache.sentry.provider.db.service.model.MSentryGroup WHERE :p1.contains(this.groupName) FetchPlan [default]" of language "JDOQL" has been run before so reusing existing generic compilation&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,048 DEBUG DataNucleus.Query: JDOQL Query : Compiling "SELECT FROM org.apache.sentry.provider.db.service.model.MSentryGroup WHERE :p1.contains(this.groupName)" for datastore&lt;/P&gt;&lt;P&gt;2018-09-12 15:59:31,048 DEBUG DataNucleus.Query: Parameter ParameterExpression{p1} is being resolved as a literal, so the query is no longer precompilable&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 14:18:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79703#M42346</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-12T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79752#M42347</link>
      <description>&lt;P&gt;Also users, which do not have privileges in Security-Hive tables for some hive tabels can select data. There are no error messages in logs about it.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 09:32:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79752#M42347</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-13T09:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79788#M42348</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sentry will use OS group lookup to resolve group membership.&amp;nbsp; Are you using OS level configuration that maps to LDAP users?&amp;nbsp; Also, being an Admin does not grant any access to servers; rather, it gives grant privlige.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What we really need to do is clearly define what you have configured in terms of grants and user/group membership so we can start to clarify what you expect to have happen and what is actually happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- is the grants you have made that you perceive are not having the desired effect&lt;/P&gt;&lt;P&gt;- the result of "id -Gn &amp;lt;user&amp;gt;"&lt;/P&gt;&lt;P&gt;- groups that are listed as Sentry Admin Groups&lt;/P&gt;&lt;P&gt;- test results with beeline (to remove the level of abstraction introduced by Hue).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 19:15:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79788#M42348</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-09-13T19:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79880#M42349</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Sentry does not take the correct groups for admin user from LDAP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LDAP is used everywhere across Hadoop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hue -&amp;gt; Configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Authentication Backend - desktop.auth.backend.LdapBackend&lt;BR /&gt;LDAP URL ldaps://sspeapp01v.sec.oteco&lt;BR /&gt;LDAP Search Base dc=sec,dc=oteco&lt;BR /&gt;LDAP Bind User Distinguished Name cn=admin,dc=sec,dc=oteco&lt;BR /&gt;LDAP Bind Password xxxxxx&lt;BR /&gt;LDAP User Filter (objectClass=posixAccount)&lt;BR /&gt;LDAP Username Attribute uid&lt;BR /&gt;LDAP Group Filter (objectClass=posixGroup)&lt;BR /&gt;LDAP Group Name Attribute cn&lt;BR /&gt;LDAP Group Membership Attribute memberUid&lt;BR /&gt;Use Search Bind Authentication true&lt;BR /&gt;LDAP Server CA Certificate also set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sentry admin groups: hive, impala, hue, solr, admins&lt;BR /&gt;Allowed Connecting Users: hive, impala, hue, hdfs, solr, kafka, maslova&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id -Gn maslova maslova wheel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LDAP&lt;BR /&gt;dn: cn=admins,ou=Groups,dc=dom&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;cn: admins&lt;BR /&gt;gidNumber: 1051&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;memberUid: maslova&lt;/P&gt;&lt;P&gt;dn: uid=maslova,ou=users,dc=sec,dc=oteco&lt;BR /&gt;objectClass: shadowAccount&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: posixAccount&lt;BR /&gt;objectClass: account&lt;BR /&gt;cn: maslova&lt;BR /&gt;gidNumber: 1004&lt;BR /&gt;homeDirectory: /home/maslova&lt;BR /&gt;uid: maslova&lt;BR /&gt;uidNumber: 1004&lt;BR /&gt;loginShell: /bin/bash&lt;BR /&gt;shadowLastChange: 17730&lt;BR /&gt;shadowMax: 99999&lt;BR /&gt;shadowMin: 0&lt;BR /&gt;shadowWarning: 7&lt;BR /&gt;userPassword:: e01ENX1JQ3k1WXF4WkIxdVdTd2NWTFNOTGNBPT0=&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;While searching user in LDAP Sentry return group polymatica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dn: cn=polymatica,ou=groups,dc=sec,dc=oteco&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: posixGroup&lt;BR /&gt;cn: polymatica&lt;BR /&gt;gidNumber: 1001&lt;BR /&gt;memberUid: polymatica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No group polymatica in OS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. After recreating grants in Sentry the behavior has changed, but still the grants are not having the desired effect. Also external database disappeared.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The path for external database is /user/maslova/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grants made&lt;/P&gt;&lt;P&gt;Role admins, group admins, server=server1&amp;nbsp; action=ALL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create table T1; create table T2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error while compiling statement: FAILED: SemanticException No valid privileges User maslova does not have privileges for SWITCHDATABASE The required privileges: Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=select;Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=insert;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From beeline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create table T1 (i int);&lt;BR /&gt;Error: Error while compiling statement: FAILED: SemanticException No valid privileges&lt;BR /&gt;&amp;nbsp;User maslova does not have privileges for CREATETABLE&lt;BR /&gt;&amp;nbsp;The required privileges: Server=server1-&amp;gt;Db=default-&amp;gt;action=*; (state=42000,code=40000)&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 09:07:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79880#M42349</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-17T09:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79911#M42350</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you say that you are using LDAP everywhere, does that include LDAP group mapping for HDFS.&amp;nbsp; I wasn't clear on that.&lt;/P&gt;&lt;P&gt;The reason I ask is that the issue described has nothing to do with Hue at all; rather, this is a matter of Hue attempting to map access based on a defined role that is mapped to a group that includes one or more users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;beeline attempts to create a table as user &lt;STRONG&gt;maslova&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HiveServer2 verifies this action is allowed by evaluating the desired action via Sentry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sentry will attempt to see if &lt;STRONG&gt;maslova&lt;/STRONG&gt; is a member of an OS group that is a member of a role that is granted the necessary access.&amp;nbsp; When you ran &lt;STRONG&gt;id -Gn&lt;/STRONG&gt; we see the result was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maslova maslova wheel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you granted access to the "admins" role, but &lt;STRONG&gt;maslova&lt;/STRONG&gt; is not a member of "admins" group that is mapped to the admins role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RECOMMENDATION:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure that you have set &lt;STRONG&gt;maslova&lt;/STRONG&gt; to be a member of a group that is mapped to the role granted all access to "server1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, verify your HDFS level group mapping by checking what value is set in your &lt;STRONG&gt;HDFS Hadoop User Group Mapping Implementation&lt;/STRONG&gt; configuration.&amp;nbsp; Sentry will use the OS mapping by default (ShellBasedUnixGroupsMapping).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:25:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79911#M42350</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-09-17T17:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79960#M42351</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the detailed response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LDAP group mapping for HDFS is turned on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hadoop User Group Mapping Implementation&lt;/SPAN&gt; &lt;SPAN&gt;org.apache.hadoop.security.LdapGroupsMapping&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Enable Access Control Lists&lt;/SPAN&gt; true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Enable Sentry Synchronization&lt;/SPAN&gt; true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Sentry Synchronization Path Prefixes&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;nbsp;/user/hive/warehouse, /user/maslova (external database)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should group admins be set in OS&amp;nbsp;if LDAP is used on HDFS?&lt;/P&gt;&lt;P&gt;We use SSSD and it is hard to create the same users in OS as we have in LDAP.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 07:47:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79960#M42351</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-18T07:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79966#M42352</link>
      <description>&lt;P&gt;We have made OS group admins on all hadoop hosts and included user maslova into it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id -Gn maslova&lt;BR /&gt;maslova wheel admins&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this action had no effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 10:56:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79966#M42352</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-18T10:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79972#M42353</link>
      <description>&lt;P&gt;What I found in the log of Sentry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEBUG org.apache.hadoop.security.LdapGroupsMapping: &lt;STRONG&gt;doGetGroups(maslova) return [polymatica]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But why??????&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The user maslova in not in group polymatica&amp;nbsp;neither in LDAP nor in OS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4828iBEDAD41E9BA1CE8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4829i540959F650FF4E54/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.jpg" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4827iB35734663F35E289/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.jpg" style="width: 536px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4826i471C9374BEBAA98E/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.jpg" alt="4.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the mistakes disappear as I add group &lt;STRONG&gt;polymatica&lt;/STRONG&gt; in Sentry admins, and in garnts for hive tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 11:06:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/79972#M42353</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-18T11:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80122#M42354</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree that this is pretty odd, but we'll figure it out&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see that you have LDAP Groups Mapping configured for HDFS&lt;/P&gt;&lt;P&gt;I assume, then, that HDFS stuff appears to be working correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's confirm by running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# hdfs groups maslova&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# hdfs groups hdfs&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If Sentry is using the same lookup as HDFS, then we would assume the results would be the same and you would see that maslova is a member of ploymatica group.&lt;/P&gt;&lt;P&gt;However, if the "hdfs groups" command results differ, this indicates that Sentry is not using the same configuration for group lookups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's start by getting those results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 17:31:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80122#M42354</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-09-20T17:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80174#M42355</link>
      <description>&lt;P&gt;Hello, bgooley!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs groups maslova&lt;BR /&gt;maslova : polymatica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs groups hdfs&lt;BR /&gt;hdfs : polymatica&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does it happen? And how to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answers!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 06:55:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80174#M42355</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-09-21T06:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80613#M42356</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the result is telling you is that the the configuration you have for groups mapping in HDFS is returning that result.&amp;nbsp; Based on your LDAP and passwd output, it appears that your cluster is using a different means to derive group membership that you thought.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's check the following to confirm what clients and HDFS NameNodes are using for their groups mapping:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run this on any host that is part of your cluster:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# grep -B1 -A2 "hadoop.security.group.mapping" /etc/hadoop/conf/core-site.xml&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NameNode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On your NameNode host, run the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# grep -B1 -A2 hadoop.security.group.mapping /var/run/cloudera-scm-agent/process/`ls -lrt /var/run/cloudera-scm-agent/process/ | awk '{print $9}' |grep "\-NAMENODE$"| tail -1`/core-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can use the information there to help understand where hdfs is getting its mapping for your users.&amp;nbsp; The fact the "hdfs" user mapping to something other than "hdfs hadoop" for groups is disconcerting indeed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should also note that there is one other thing to consider.&amp;nbsp; If someone there has added values in the following property, that will create a static mapping that will override any other groups mapping:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hadoop.user.group.static.mapping.overrides&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check your server/client core-site.xml for that just to be case.&amp;nbsp; By default, it won't appear in core-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 18:44:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80613#M42356</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-03T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80630#M42359</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Host&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;org.apache.hadoop.security.LdapGroupsMapping&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.url&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;ldap://sspeapp01v.sec.oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.bind.user&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn=admin,dc=sec,dc=oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.base&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;dc=sec,dc=oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.filter.user&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectClass=posixAccount)&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.filter.group&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectClass=posixGroup)&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.attr.member&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;memberUid&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.attr.group.name&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NameNode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;org.apache.hadoop.security.LdapGroupsMapping&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.url&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;ldap://sspeapp01v.sec.oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.bind.user&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn=admin,dc=sec,dc=oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.bind.password&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;********&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.base&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;dc=sec,dc=oteco&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.filter.user&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectClass=posixAccount)&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.filter.group&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectClass=posixGroup)&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.attr.member&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;memberUid&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;hadoop.security.group.mapping.ldap.search.attr.group.name&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And there is no hadoop.user.group.static.mapping.overrides in core-site.xml&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 07:35:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80630#M42359</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-10-04T07:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80746#M42362</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that your user search filter may need adjustment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have (&lt;STRONG&gt;objectclass=posixAccount)&lt;/STRONG&gt; but are missing the part of the filter that accepts the uid.&lt;/P&gt;&lt;P&gt;You might try the following in &lt;STRONG&gt;Hadoop User Group Mapping LDAP User Search Filter&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(&amp;amp;(objectClass=posixAccount)(uid={0}))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have time at the moment to go through the code more and figure out why you are seeing this exact behavior, but I think the above change is a good start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 18:12:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80746#M42362</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-05T18:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80811#M42363</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately that did not help&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 07:01:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80811#M42363</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-10-08T07:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80845#M42364</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29023"&gt;@Paulina&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next step, then, is to find out what LDAP commands are being issued on the LDAP server.&amp;nbsp; Since you are using a non-AD server, your LDAP access logs should give us that information.&amp;nbsp; I would tail the ldap server access logs while doing the "hdfs groups hdfs" command for instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once we see what ldap commands are run, we should have a better idea of why we are seeing the results we are seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you could use Wireshark or tcpdump to capture packets and view them in Wireshark.&amp;nbsp; Wireshark decodes LDAP packets so we can actually view the complete conversation between client and server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 16:46:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80845#M42364</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2018-10-08T16:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80897#M42365</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/4054"&gt;@bgooley&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The changes you have adviced in search filter &amp;nbsp;(&amp;amp;(objectClass=posixAccount)(uid={0})) had an effect!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the command hdfs groups hdfs returns hdfs : hdfs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs groups maslova&lt;BR /&gt;maslova : maslova&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the search bind returns the group, which is in gidNumber of the account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LDAP log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: conn=88425 op=2613 SRCH base="dc=sec,dc=oteco" scope=2 deref=3 filter="(&amp;amp;(objectClass=posixAccount)(uid=maslova))"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: conn=88425 op=2613 SRCH attr=cn uidNumber gidNumber&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: &amp;lt;= mdb_equality_candidates: (uid) not indexed&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: conn=88425 op=2613 SEARCH RESULT tag=101 err=0 nentries=1 text=&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: conn=88425 op=2614 SRCH base="dc=sec,dc=oteco" scope=2 deref=3 filter="(&amp;amp;(objectClass=posixGroup)(|(gidNumber=1004)(memberUid=1004)))"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: conn=88425 op=2614 SRCH attr=cn uidNumber gidNumber&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: &amp;lt;= mdb_equality_candidates: (gidNumber) not indexed&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Oct 9 10:16:40 sspeapp01v slapd[29022]: &amp;lt;= mdb_equality_candidates: (memberUid) not indexed&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HDFS configuration looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hadoop User Group Mapping LDAP Group Search Filter&lt;/SPAN&gt; (objectClass=posixGroup)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hadoop User Group Mapping LDAP Group Membership Attribute&lt;/SPAN&gt; memberUid&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hadoop User Group Mapping LDAP Group Name Attribute&lt;/SPAN&gt; cn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something is wrong with these lines, I think&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:44:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80897#M42365</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-10-09T07:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: The application won't work without a running HiveServer2 and Access denied erors after enabling</title>
      <link>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80900#M42366</link>
      <description>&lt;P&gt;The reason of this problems was that HDFS is looking for uidNumber in&amp;nbsp;memberUid and Hue is looking for uid in memberUid. As I added uidNumber in&amp;nbsp;memberUid&amp;nbsp; for my user in addition to other memberUids everything started to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the picture memberUid=1004 and memberUid=maslova is the same user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="memberuid.jpg" style="width: 451px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/4920iEC1DFFDFE6306F94/image-size/large?v=v2&amp;amp;px=999" role="button" title="memberuid.jpg" alt="memberuid.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other method to fix the problem, because if we leave membership&amp;nbsp;like this we would have to add users in groups twice: uids and uidnumbers&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 09:50:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/The-application-won-t-work-without-a-running-HiveServer2-and/m-p/80900#M42366</guid>
      <dc:creator>Paulina</dc:creator>
      <dc:date>2018-10-09T09:50:47Z</dc:date>
    </item>
  </channel>
</rss>

