<?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: How to access Hive in CLI using non Root users in HDP 2. 5 ?? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141565#M48172</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;&lt;P&gt;Hey Raj Thanks for the quick response. Can you please send me the syntax to list down users in HDFS as well as in Kerberos.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 18:16:37 GMT</pubDate>
    <dc:creator>subash_sharma</dc:creator>
    <dc:date>2016-12-07T18:16:37Z</dc:date>
    <item>
      <title>How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141563#M48170</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can i login to hive using non root user through CLI and what are the different and easiest way to access hive. Please note that my environment is kerberized.&lt;/P&gt;&lt;P&gt;Thanks you,&lt;/P&gt;&lt;P&gt;Subash&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141563#M48170</guid>
      <dc:creator>subash_sharma</dc:creator>
      <dc:date>2016-12-07T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141564#M48171</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14607/subashsharma.html" nodeid="14607"&gt;@subash sharma&lt;/A&gt;yes you can access hive cli after getting the valid kerberos credential for non-root user, given that this user belongs to hdfs group.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:13:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141564#M48171</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-07T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141565#M48172</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;&lt;P&gt;Hey Raj Thanks for the quick response. Can you please send me the syntax to list down users in HDFS as well as in Kerberos.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:16:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141565#M48172</guid>
      <dc:creator>subash_sharma</dc:creator>
      <dc:date>2016-12-07T18:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141566#M48173</link>
      <description>&lt;P&gt;try with ambari-qa&lt;/P&gt;&lt;P&gt; klist -kt /etc/security/keytabs/smokeuser.headless.keytab &lt;/P&gt;&lt;P&gt;Keytab name: FILE:/etc/security/keytabs/smokeuser.headless.keytab&lt;/P&gt;&lt;P&gt;KVNO Timestamp         Principal&lt;/P&gt;&lt;P&gt;---- ----------------- --------------------------------------------------------&lt;/P&gt;&lt;P&gt;  1 11/22/16 11:24:27 ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;  1 11/22/16 11:24:27 ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;  1 11/22/16 11:24:27 ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;  1 11/22/16 11:24:27 ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;1 11/22/16 11:24:27 ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;&lt;P&gt;then obtain ticket&lt;/P&gt;&lt;P&gt;kinit -kt /etc/security/keytabs/smokeuser.headless.keytab  ambari-qa-rks242secure@EXAMPLE.COM&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:21:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141566#M48173</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-07T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141567#M48174</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar&lt;/A&gt; can you please send me the syntax to login to hive cli for normal non root users and kerberos primcipals&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:28:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141567#M48174</guid>
      <dc:creator>subash_sharma</dc:creator>
      <dc:date>2016-12-07T18:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141568#M48175</link>
      <description>&lt;P&gt;after getting these credential using above command just do execute hive&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:31:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141568#M48175</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-12-07T18:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141569#M48176</link>
      <description>&lt;P&gt;please note Hive CLI is not supported by Ranger. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 23:43:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141569#M48176</guid>
      <dc:creator>vperiasamy</dc:creator>
      <dc:date>2016-12-07T23:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to access Hive in CLI using non Root users in HDP 2. 5 ??</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141570#M48177</link>
      <description>&lt;P&gt;
	Please use beeline as it is the CLI for HiveServer2, the hive CLI (and HiveServer1) is deprecated. Syntax to connect to kerberized Hive is&lt;/P&gt;&lt;PRE&gt;beeline -u jdbc:hive2://&amp;lt;HIVE_HOST_FQDN&amp;gt;:10000;principal=hive/&amp;lt;hive_host_fqdn&amp;gt;@YOUR.REALM&lt;/PRE&gt;&lt;P&gt;You must kinit first. You will authenticate to HiveServer2 using the credentials associated with the Kerberos principal that you use to request a TGT from your KDC.&lt;/P&gt;&lt;P&gt;Users that can authenticate to HS2 don't need to be part of the hdfs group. They need to be present as Kerberos principals in the KDC for the realm which you used to kerberize the cluster, or within some other realm that is trusted by the former.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 04:17:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-access-Hive-in-CLI-using-non-Root-users-in-HDP-2-5/m-p/141570#M48177</guid>
      <dc:creator>slachterman</dc:creator>
      <dc:date>2016-12-08T04:17:48Z</dc:date>
    </item>
  </channel>
</rss>

