<?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: beeline in kerberized cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159518#M121907</link>
    <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2016 16:13:22 GMT</pubDate>
    <dc:creator>avijeetd</dc:creator>
    <dc:date>2016-09-21T16:13:22Z</dc:date>
    <item>
      <title>beeline in kerberized cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159514#M121903</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;to connect beeline, the following steps work&lt;/P&gt;&lt;P&gt;1. kinit as user hr1&lt;/P&gt;&lt;P&gt;2. beeline connect URL &lt;/P&gt;&lt;P&gt;!connect jdbc:hive2://localhost:10000/default;principal=hive/securityLab02@XXX.local;auth=kerberos&lt;/P&gt;&lt;P&gt;Then it asks for user name, password - for which just press enter &lt;/P&gt;&lt;P&gt;Once we are in, which user is it&lt;/P&gt;&lt;P&gt;1) is it hr1&lt;/P&gt;&lt;P&gt;2) is it hive user on behalf of hr1&lt;/P&gt;&lt;P&gt;3) it is hive user&lt;/P&gt;&lt;P&gt;whose permissions will work?&lt;/P&gt;&lt;P&gt;can someone please explain the token delegation that happens here. Also is it the right way to connect using beeline.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 21:56:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159514#M121903</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-09-19T21:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: beeline in kerberized cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159515#M121904</link>
      <description>&lt;P&gt;The user that  has the kerberos ticket will be the authenticated user &lt;/P&gt;&lt;P&gt;you can confirm &lt;/P&gt;&lt;P&gt;kdestroy&lt;/P&gt;&lt;P&gt;kinit as hr1 &lt;/P&gt;&lt;P&gt;then klist to check &lt;/P&gt;&lt;P&gt;then beeline &lt;/P&gt;&lt;P&gt;beeline -u ' jdbc:hive2://localhost:10000/default;&lt;A href="mailto:principal=hive/securityLab02@XXX.local"&gt;principal=hive/securityLab02@XXX.local&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;all actions will be of the authenticated user via kerberos &lt;/P&gt;&lt;P&gt;please  see this article &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/22897/kerberos-principal-should-have-3-parts.html" target="_blank"&gt;https://community.hortonworks.com/questions/22897/kerberos-principal-should-have-3-parts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 22:25:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159515#M121904</guid>
      <dc:creator>mthiele1</dc:creator>
      <dc:date>2016-09-19T22:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: beeline in kerberized cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159516#M121905</link>
      <description>&lt;P&gt;thanks @mthiele&lt;/P&gt;&lt;P&gt;However I noticed while doing a HIVE command - the permissions of hive service principal is taking precedence over the authenticated user &lt;/P&gt;&lt;P&gt;load data inpath '/tmp/sample_07.csv' into table sample_07;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 11:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159516#M121905</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-09-20T11:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: beeline in kerberized cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159517#M121906</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11016/avijeetd.html" nodeid="11016"&gt;@Avijeet Dash&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;do you have impersonation enabled ('doAs') ?&lt;/P&gt;&lt;P&gt;check &lt;A target="_blank" href="http://hortonworks.com/blog/best-practices-for-hive-authorization-using-apache-ranger-in-hdp-2-2/"&gt;this&lt;/A&gt; out, hth....&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:28:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159517#M121906</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-09-20T17:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: beeline in kerberized cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159518#M121907</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 16:13:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/beeline-in-kerberized-cluster/m-p/159518#M121907</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2016-09-21T16:13:22Z</dc:date>
    </item>
  </channel>
</rss>

