<?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: root from IP 192.168.70.104 How to resolve??? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193468#M62133</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12198/jcleve72.html" nodeid="12198"&gt;@John Cleveland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you have not added the mentioned IP Address properly inside the property: &lt;STRONG&gt;hadoop.proxyuser.root.hosts
&lt;/STRONG&gt;&lt;/P&gt;If ambari-server daemon is running as root, you set up a proxy user for root in core-site by adding and changing properties in HDFS &amp;gt; Configs &amp;gt; Custom core-site:
&lt;PRE&gt;hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
OR
hadoop.proxyuser.root.hosts=192.168.70.104&lt;/PRE&gt;&lt;P&gt;
Here You can also define a comma separate IP Address list so that File View access will be allowed from the mentioned address to avoid this error:&lt;/P&gt;&lt;PRE&gt;Unauthorized connection for super-user: root from IP 192.168.70.104&lt;/PRE&gt;&lt;P&gt;.
&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2017 07:49:27 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-06-01T07:49:27Z</dc:date>
    <item>
      <title>Unauthorized connection for super-user: root from IP 192.168.70.104 How to resolve???</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193467#M62132</link>
      <description>&lt;P&gt;1. I am using HDP 2.6 and ambari 2.5. on a 5 node cluster. The cluster was setup with vagrant following these instructions&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+for+New+VM+Users" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+for+New+VM+Users&lt;/A&gt; . The base box is Centos 7.0&lt;/P&gt;&lt;P&gt;2. I am trying to use File View and I cannot upload a file. I get:&lt;/P&gt;&lt;PRE&gt;Unauthorized connection for super-user: root from IP 192.168.70.104&lt;/PRE&gt;&lt;P&gt;3. In Ambari Web. I logged in admin/admin. I have followed the instructions  &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_files_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_files_view.html&lt;/A&gt; and created a proxy for admin, I changed the settings to 777. I also added admin as a user of this File View instance. &lt;/P&gt;&lt;P&gt;4. I have the sandbox setup and I can upload files on the sandbox. &lt;/P&gt;&lt;P&gt;5. If I vagrant ssh c7001.ambari.apache.org (node with ambari-server running) I can put a file into the hdfs and it shows up in the file view under /user/admin (The default directory that I set up see (3). )&lt;/P&gt;&lt;P&gt;However, I cannot upload anything from my local filesystem with File View.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:36:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193467#M62132</guid>
      <dc:creator>jcleve72</dc:creator>
      <dc:date>2017-06-01T06:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: root from IP 192.168.70.104 How to resolve???</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193468#M62133</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12198/jcleve72.html" nodeid="12198"&gt;@John Cleveland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you have not added the mentioned IP Address properly inside the property: &lt;STRONG&gt;hadoop.proxyuser.root.hosts
&lt;/STRONG&gt;&lt;/P&gt;If ambari-server daemon is running as root, you set up a proxy user for root in core-site by adding and changing properties in HDFS &amp;gt; Configs &amp;gt; Custom core-site:
&lt;PRE&gt;hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
OR
hadoop.proxyuser.root.hosts=192.168.70.104&lt;/PRE&gt;&lt;P&gt;
Here You can also define a comma separate IP Address list so that File View access will be allowed from the mentioned address to avoid this error:&lt;/P&gt;&lt;PRE&gt;Unauthorized connection for super-user: root from IP 192.168.70.104&lt;/PRE&gt;&lt;P&gt;.
&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:49:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193468#M62133</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-01T07:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: root from IP 192.168.70.104 How to resolve???</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193469#M62134</link>
      <description>&lt;P&gt;My proxy users for both root and admin are *. &lt;/P&gt;&lt;P&gt;1. What does the * mean?&lt;/P&gt;&lt;P&gt;2. I have noticed that I get 192.168.70.104/5 in the error message ... these are my data nodes. So I will change the * to a comma separated list of the datanodes (for the proxy hosts) and see what happens &lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 09:56:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193469#M62134</guid>
      <dc:creator>jcleve72</dc:creator>
      <dc:date>2017-06-01T09:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: root from IP 192.168.70.104 How to resolve???</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193470#M62135</link>
      <description>&lt;P&gt;For some reason &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.hosts=c7001.ambari.apache.org??? I changed it to * and I can now upload files.&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Jun 2017 10:39:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193470#M62135</guid>
      <dc:creator>jcleve72</dc:creator>
      <dc:date>2017-06-01T10:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized connection for super-user: root from IP 192.168.70.104 How to resolve???</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193471#M62136</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12198/jcleve72.html" nodeid="12198"&gt;@John Cleveland
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good to know that your issue is resolved.&lt;/P&gt;&lt;P&gt;Few details: &lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.&amp;lt;USER&amp;gt;.hosts&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;From File View perspective: &lt;/STRONG&gt;  Here we need to replace the &amp;lt;USER&amp;gt; with the username who is actually running the Ambari Server (Or Standalone Ambari FileView Server) . So if you are running ambari server as "root" user then you will need to set the property for "root" user as "hadoop.proxyuser.&lt;STRONG&gt;root&lt;/STRONG&gt;.groups".  The Value of this property can be a comma separated list of addresses where you are running the ambari server (OR Standalone View Ambari Server for hosting the View) . Because View Server will actually send requests to Hadoop.  So hadoop need to allow access from the host where the FileView is running.  Setting * means you can use the FileView (Standalone Ambari View Server) which is installed to any host.   (In a kerberized environment we need to replace the &amp;lt;USER&amp;gt; with the ambari server kerberos principal name).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Generic Hadoop Perspective:  &lt;/STRONG&gt; In general, By Using proxy user using properties "hadoop.proxyuser.$superuser.hosts" along with either or both of "hadoop.proxyuser.$superuser.groups" and "hadoop.proxyuser.$superuser.users".&lt;/P&gt;&lt;P&gt;
By specifying as below in core-site.xml, the superuser named super can connect only from host1 and host2 to impersonate a user belonging to group1 and group2.&lt;/P&gt;&lt;P&gt;
Following document explains it with examples: &lt;A href="https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-common/Superusers.html"&gt;https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-common/Superusers.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/12198/jcleve72.html" nodeid="12198"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 10:59:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unauthorized-connection-for-super-user-root-from-IP-192-168/m-p/193471#M62136</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-01T10:59:36Z</dc:date>
    </item>
  </channel>
</rss>

