<?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: hive running query from different user but user name is same in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220923#M79497</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/79163/bhanupamu.html" nodeid="79163"&gt;@Bhanu Pamu&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using CentOS 7.3&lt;/LI&gt;&lt;LI&gt;No i don't any user on OS with same name. I'm using AD users.&lt;/LI&gt;&lt;LI&gt;Yes, I'd created asif user directory in /user.&lt;/LI&gt;&lt;LI&gt;I'm running query on internal hive table.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Wed, 13 Jun 2018 13:49:13 GMT</pubDate>
    <dc:creator>vinayk</dc:creator>
    <dc:date>2018-06-13T13:49:13Z</dc:date>
    <item>
      <title>hive running query from different user but user name is same</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220919#M79493</link>
      <description>&lt;P&gt;HI Team,&lt;/P&gt;&lt;P&gt;I have three node Cluster. I have enabled kerberos in cluster environment. While i'm running any hive query from different users, I'm getting only hive username in history server username who is running query. &lt;/P&gt;&lt;P&gt;How can i enable owner name in application?&lt;/P&gt;&lt;P&gt;sample screenshot attached.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/77652-capture1.png"&gt;capture1.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 19:23:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220919#M79493</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-06-12T19:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: hive running query from different user but user name is same</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220920#M79494</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69412/testtest12p.html" nodeid="69412" target="_blank"&gt;@Vinay K&lt;/A&gt; You need to enable user impersonation in hive configuration. Set &lt;STRONG&gt;hive.server2.enable.doAs&lt;/STRONG&gt; &lt;STRONG&gt;= true&lt;/STRONG&gt; save and restart hive server2. When doAs is set to false, queries execute as the Hive user and not the end user. Setting it to true so that queries will be run as end user instead.&lt;/P&gt;&lt;P&gt;In ambari you can do this change in Hive &amp;gt; Configs &amp;gt; Settings &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="76635-screen-shot-2018-06-12-at-83325-am.png" style="width: 319px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15814i6280DBA810FDFEC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="76635-screen-shot-2018-06-12-at-83325-am.png" alt="76635-screen-shot-2018-06-12-at-83325-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:20:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220920#M79494</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2019-08-18T02:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: hive running query from different user but user name is same</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220921#M79495</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11048/falbani.html" nodeid="11048"&gt;@Felix Albani&lt;/A&gt;&lt;P&gt;It's working. Thanks for quick response.&lt;/P&gt;&lt;P&gt;Now i'm running query from end, I'm getting below error in hiveserver2.log&lt;/P&gt;&lt;P&gt;Diagnostics: Application application_1528797729105_0016 initialization failed (exitCode=255) with output: main : command provided 0
main : run as user is asif
main : requested yarn user is asif
User asif not found&lt;/P&gt;&lt;P&gt;I've configured Kerberos &amp;amp; ranger integrated with Active Directory. I've configured one way trust MIT KDC.&lt;/P&gt;&lt;P&gt;asif user have own kerberos ticket. But still asif user not found.&lt;/P&gt;&lt;P&gt;Can you further help me?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:55:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220921#M79495</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-06-13T11:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: hive running query from different user but user name is same</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220922#M79496</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/69412/testtest12p.html" nodeid="69412"&gt;@Vinay K&lt;/A&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is the OS you are running on. &lt;/LI&gt;&lt;LI&gt;Do you have OS user with the same name ?&lt;/LI&gt;&lt;LI&gt;Do you see hdfs directory for that user in /user/asif&lt;/LI&gt;&lt;LI&gt;Are you querying on internal or external hive table ?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:40:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220922#M79496</guid>
      <dc:creator>bhanu_pamu</dc:creator>
      <dc:date>2018-06-13T13:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: hive running query from different user but user name is same</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220923#M79497</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/79163/bhanupamu.html" nodeid="79163"&gt;@Bhanu Pamu&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using CentOS 7.3&lt;/LI&gt;&lt;LI&gt;No i don't any user on OS with same name. I'm using AD users.&lt;/LI&gt;&lt;LI&gt;Yes, I'd created asif user directory in /user.&lt;/LI&gt;&lt;LI&gt;I'm running query on internal hive table.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 13 Jun 2018 13:49:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hive-running-query-from-different-user-but-user-name-is-same/m-p/220923#M79497</guid>
      <dc:creator>vinayk</dc:creator>
      <dc:date>2018-06-13T13:49:13Z</dc:date>
    </item>
  </channel>
</rss>

