INSTALLATION DOCUMENTS BY RAVI

Friday, April 27, 2018

Unauthorized connection for super-user: root from IP 127.0.0.1

When trying to upload files to hdfs through ambari console getting the below error

Unauthorized connection for super-user: root from IP 127.0.0.1
























Looks like we have not added the mentioned IP Address properly inside the property: hadoop.proxyuser.root.hosts

If ambari-server daemon is running as root, we need to set up a proxy user for root in core-site by adding and changing properties in HDFS > Configs > Custom core-site:
  1. hadoop.proxyuser.root.groups=*
  2. hadoop.proxyuser.root.hosts=*
Open ambari console


Go to HDFS -> Configs























Click on Custom core-site























Modify the below parameters























Save the configuration











Click ok


Restart the affected components























After successful restart try to upload files now























6 comments:

  1. Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all. I suppose you will keep the quality work going on. Meer hierover leest je hier

    ReplyDelete
  2. A simple bookmarking tool that makes it easy to save, organize and share your favorite web pages. Access your bookmarks from any computer, phone or tablet. Listango works on all modern web browsers… bezoek website

    ReplyDelete
  3. If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries.  privacy in the network

    ReplyDelete
  4. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. Definitely a great post. Hats off to you! The information that you have provided is very helpful. privacyonline

    ReplyDelete
  5. Excellent blog! I found it while surfing around on Google. Content of this page is unique as well as well researched. Appreciate it. https://192-168-i-i.com/

    ReplyDelete

Loading xml file data to oracle table using python

Sample xml file (test.xml): <?xml version="1.0"?> <data>     <customer name="Ravi" >     ...