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.
@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>
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