<?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 Hue Impala query run user with kerberos? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40554#M23210</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hello &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Why does Hue run Impala query as 'hue/master1@MY-REALM' instead my username 'ben'?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I get this error (even i'm logged-in as 'ben' user)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Your query has the following error(s):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#FF0000"&gt;Request from user 'hue/master1@MY-REALM' with requested pool 'it' denied access to assigned pool 'root.it'&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Previous to Cloudera 5.7 i think Cloudera had llama service and ran Impala query as 'llama' user. Now with Cloudera 5.7 I could have Impala without llama and have it's own Dynamic Resource Management. but problem is Hue runs query as hue/master1... user instead of my username.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Similar thing happens to Hive. Hive runs hive query as 'hive' user instead of my username. I found it pretty annoying..&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Does anyone has better idea to this?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Ben&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:17:48 GMT</pubDate>
    <dc:creator>ben123</dc:creator>
    <dc:date>2022-09-16T10:17:48Z</dc:date>
    <item>
      <title>Hue Impala query run user with kerberos?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40554#M23210</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hello &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Why does Hue run Impala query as 'hue/master1@MY-REALM' instead my username 'ben'?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I get this error (even i'm logged-in as 'ben' user)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Your query has the following error(s):&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#FF0000"&gt;Request from user 'hue/master1@MY-REALM' with requested pool 'it' denied access to assigned pool 'root.it'&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Previous to Cloudera 5.7 i think Cloudera had llama service and ran Impala query as 'llama' user. Now with Cloudera 5.7 I could have Impala without llama and have it's own Dynamic Resource Management. but problem is Hue runs query as hue/master1... user instead of my username.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Similar thing happens to Hive. Hive runs hive query as 'hive' user instead of my username. I found it pretty annoying..&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Does anyone has better idea to this?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="queryErrorMessage"&gt;&lt;FONT color="#000000"&gt;Ben&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:17:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40554#M23210</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2022-09-16T10:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hue Impala query run user with kerberos?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40632#M23211</link>
      <description>Is impersonation turned on on the Hue side and Impala side?&lt;BR /&gt;&lt;BR /&gt;For hue&lt;BR /&gt;&lt;A href="https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L867" target="_blank"&gt;https://github.com/cloudera/hue/blob/master/desktop/conf.dist/hue.ini#L867&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2016 16:32:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40632#M23211</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-05-09T16:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hue Impala query run user with kerberos?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40677#M23212</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I added this configuration to Hue Server&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;[impala]&lt;BR /&gt;impersonation_enabled=True&lt;/STRONG&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;&lt;STRONG&gt;Now i get this error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;User 'hue/master1@MYREALM.COM' is not authorized to delegate to 'ben'. User delegation is disabled.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 15:01:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40677#M23212</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2016-05-10T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hue Impala query run user with kerberos?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40845#M23213</link>
      <description>Do you have impersonation ON on the the Impala side?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/RNbjg2v7Zcc" target="_blank"&gt;https://groups.google.com/a/cloudera.org/forum/#!topic/hue-user/RNbjg2v7Zcc&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2016 03:51:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40845#M23213</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-05-16T03:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hue Impala query run user with kerberos?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40875#M23214</link>
      <description>&lt;P&gt;I&amp;nbsp;have had authorized_proxy_user_config=hue=* configuration on CM, but for some reason it wasn't being populated on impalad configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after reading the post you provided me, instead of manually adding it to "advanced snippet", I enabled Sentry Authorization on Impala. Now&amp;nbsp;the configuration&amp;nbsp;appears on the impalad, and impersonation works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help Romain&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 16:17:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-Impala-query-run-user-with-kerberos/m-p/40875#M23214</guid>
      <dc:creator>ben123</dc:creator>
      <dc:date>2016-05-16T16:17:09Z</dc:date>
    </item>
  </channel>
</rss>

