Created 07-11-2017 05:07 PM
Hi Guys .. i need help, I Try upload file but i receive error Unauthorized connection for super-user: root from IP 172.30.12.81, IP ADDR 172.30.12.81 belongs to my workstation, that is, I am not authorized to send files from other machines. I would like to know where I add to free so that everyone who connects to hadoop can send files.
regards,
Rui
Created 07-11-2017 06:09 PM
@Rui Ornellas Junior You can configure proxy user using properties hadoop.proxyuser.$superuser.hosts along with either or both of hadoop.proxyuser.$superuser.groups and hadoop.proxyuser.$superuser.users.
By specifying as below in core-site.xml, the superuser named root can connect only from host1 and host2
<property> <name>hadoop.proxyuser.root.hosts</name> <value>host1,host2</value> </property>
Created 07-11-2017 08:58 PM
Ok I accessed via ssh my linux server where the ambari is, then I put the sudo su - hdfs command to access with the hdfs user ... then I accessed the / etc / hadoop / conf / directory and inside it I changed The core-site.xml, I went to the screen of the ambari -server and I selected all the hosts, I restarted all the services, then I accessed the files view screen where I performed a file upload and the error continues. My question is how should I change the core-site.xml file and what are the next steps
Created 07-11-2017 06:48 PM
Where that file gets to change those parameters, I'm noob on hadoop.
Created 07-11-2017 06:52 PM
You need to add this to core-site.xml through Ambari in HDFS configurations
Created 07-11-2017 06:50 PM
After changing the file, which services I reboot. @lraheja
Created 07-12-2017 08:29 AM
You need restart HDFS, YARN, MAPREDUCE and HIVE services.