<?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: Unauthorized connection for super-user: hcat in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150095#M56690</link>
    <description>&lt;P&gt;Right, &lt;A rel="user" href="https://community.cloudera.com/users/15282/skestepe.html" nodeid="15282"&gt;@Sedat Kestepe&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 22:29:15 GMT</pubDate>
    <dc:creator>sedatkestepe</dc:creator>
    <dc:date>2017-11-14T22:29:15Z</dc:date>
    <item>
      <title>Unauthorized connection for super-user: hcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150092#M56687</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When trying to test functionality of Ambari Pig view with a simple job, I got the following exception:&lt;/P&gt;&lt;PRE&gt;org.apache.ambari.view.utils.ambari.AmbariApiException: {"error":"Unauthorized connection for super-user: hcat from IP 10.0.102.62"}&lt;/PRE&gt;&lt;P&gt;It was Pig view and I was trying that with admin user. Since Ambari runs by root user I added the entries&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.root.hosts=*&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.root.groups=*&lt;/P&gt;&lt;P&gt;in core-site.xml file.&lt;/P&gt;&lt;P&gt;After getting above exception, I updated value of&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.hcat.hosts&lt;/P&gt;&lt;P&gt;with * from hostname of one server. It worked that way.&lt;/P&gt;&lt;P&gt;Now the question is, what is the relation of pig view with hcat user?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:09:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150092#M56687</guid>
      <dc:creator>sedatkestepe</dc:creator>
      <dc:date>2017-03-10T00:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: hcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150093#M56688</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15282/skestepe.html" nodeid="15282"&gt;@Sedat Kestepe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
For Pig View the hcat proxy settings are needed. Please see the following link for more details on this: &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_WebHCat_proxy_user_pig_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/setup_WebHCat_proxy_user_pig_view.html&lt;/A&gt;

We must set up an HDFS proxy user for WebHCat and a WebHCat proxy user for the Ambari Server daemon account.&lt;/P&gt;&lt;P&gt;To setup the HDFS proxy user for WebHCat :&lt;/P&gt;&lt;P&gt;In Ambari Web, browse to Services &amp;gt; HDFS &amp;gt; Configs.&lt;/P&gt;&lt;P&gt;Under the Advanced tab, navigate to the Custom core-site section.&lt;/P&gt;&lt;P&gt;Click Add Property… to add the following custom properties:&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.hcat.groups=*
hadoop.proxyuser.hcat.hosts=*&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:17:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150093#M56688</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-03-10T00:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: hcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150094#M56689</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Apparently, I lost my attention on the late hours and stuck on Hive View page &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I got the reason:&lt;/P&gt;&lt;P&gt;I run ambari-server with root user. Pig View goes to Hive and wants to use hcat user. To make it possible, we set &lt;/P&gt;&lt;P&gt;webhcat.proxyuser.root.hosts&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;webhcat.proxyuser.root.groups&lt;/P&gt;&lt;P&gt;And hcat user needs proxy settings on hdfs to be able to write and read. And that point we set &lt;/P&gt;&lt;P&gt;hadoop.proxyuser.hcat.groups=*&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.hcat.hosts=*&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150094#M56689</guid>
      <dc:creator>sedatkestepe</dc:creator>
      <dc:date>2017-03-10T14:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: hcat</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150095#M56690</link>
      <description>&lt;P&gt;Right, &lt;A rel="user" href="https://community.cloudera.com/users/15282/skestepe.html" nodeid="15282"&gt;@Sedat Kestepe&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 22:29:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-hcat/m-p/150095#M56690</guid>
      <dc:creator>sedatkestepe</dc:creator>
      <dc:date>2017-11-14T22:29:15Z</dc:date>
    </item>
  </channel>
</rss>

