<?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: Unable to connect hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211177#M173119</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma - tried multiple times. Still no luck.&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2017 01:59:23 GMT</pubDate>
    <dc:creator>timc5599</dc:creator>
    <dc:date>2017-06-16T01:59:23Z</dc:date>
    <item>
      <title>Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211173#M173115</link>
      <description>&lt;P&gt;Unable to connect from spotfire  to hive using Knox. getting following exceptions.&lt;/P&gt;&lt;PRE&gt; WARN  [HiveServer2-HttpHandler-Pool: Thread-260]: thrift.ThriftCLIService (ThriftCLIService.java:OpenSession(324)) - Error ope
ning session:
org.apache.hive.service.cli.HiveSQLException: Failed to validate proxy privilege of knox for user1
        at org.apache.hive.service.auth.HiveAuthFactory.verifyProxyAccess(HiveAuthFactory.java:443) ~[hive-service-2.1.0.2.6.0.3-8.jar:2.1.0.2.6.0.3-8
]
        at org.apache.hive.service.cli.thrift.ThriftCLIService.getProxyUser(ThriftCLIService.java:809) ~[hive-service-2.1.0.2.6.0.3-8.jar:2.1.0.2.6.0.
3-8]
        at org.apache.hive.service.cli.thrift.ThriftCLIService.getUserName(ThriftCLIService.java:382) ~[hive-service-2.1.0.2.6.0.3-8.jar:2.1.0.2.6.0.3
-8]&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:46:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211173#M173115</guid>
      <dc:creator>timc5599</dc:creator>
      <dc:date>2022-09-16T11:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211174#M173116</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19019/timc5599.html" nodeid="19019"&gt;@timc c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you changed the&lt;STRONG&gt; "hadoop.proxyuser.knox.groups" &lt;/STRONG&gt;or&lt;STRONG&gt; "hadoop.proxyuser.knox.hosts" &lt;/STRONG&gt;to access hive2 through knox ?  Either set the values for these properties to  *       or   the user which is failing.&lt;/P&gt;&lt;P&gt;If yes, then you will have to restart the Hive.&lt;/P&gt;&lt;P&gt;Restart the Hive service, so that it operates using these updated core-site configurations.&lt;/P&gt;&lt;P&gt;You are uisng HDP 2.6 but for Old HDP Spack (2.5) there was a similar issue reported as known issue.    Please see:   BUG-66998  in  &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-release-notes/content/ambari_relnotes-2.5.0.3-known-issues.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-release-notes/content/ambari_relnotes-2.5.0.3-known-issues.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 21:24:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211174#M173116</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-15T21:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211175#M173117</link>
      <description>&lt;P&gt;thanks for the reply. Both this property are set to * in my current cluster&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 01:11:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211175#M173117</guid>
      <dc:creator>timc5599</dc:creator>
      <dc:date>2017-06-16T01:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211176#M173118</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19019/timc5599.html" nodeid="19019"&gt;@timc c
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you tried restarting the hive service and test the same.
&lt;A rel="user" href="https://community.cloudera.com/users/19019/timc5599.html" nodeid="19019"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 01:13:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211176#M173118</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-16T01:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211177#M173119</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma - tried multiple times. Still no luck.&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 01:59:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211177#M173119</guid>
      <dc:creator>timc5599</dc:creator>
      <dc:date>2017-06-16T01:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211178#M173120</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/19019/timc5599.html" nodeid="19019"&gt;@timc c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you also check the following properties and modify it according to your needs ?&lt;/P&gt;&lt;PRE&gt;webhcat.proxyuser.knox.hosts *

webhcat.proxyuser.knox.groups *&lt;/PRE&gt;&lt;P&gt;As Jay pointed - once you set the appropriate permission restart all the necessary components + all hive services. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2017 18:29:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-connect-hive/m-p/211178#M173120</guid>
      <dc:creator>njayakumar</dc:creator>
      <dc:date>2017-06-16T18:29:33Z</dc:date>
    </item>
  </channel>
</rss>

