Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to modify conf files in Hadoop 4.7 distribution

Highlighted

Unable to modify conf files in Hadoop 4.7 distribution

New Contributor

I was trying to add more properties on hdfs-site.xml , mapred-site.xml , core-site.xml and flume-ng/sample-agent.conf files but. I get message as I don't have privileges to modify the files. But i have logged in using root user cloudera.

i user command as vi <filename> and add properties which ever is required but when i try to save it get above message. I tried to edit using tool gedit also but it also showed me same message.

Please someone guide me on this.

2 REPLIES 2
Highlighted

Re: Unable to modify conf files in Hadoop 4.7 distribution

Cloudera Employee

Are you using the root user or another user named cloudera?

 

Sounds like you do not have the correct permissions.

Highlighted

Re: Unable to modify conf files in Hadoop 4.7 distribution

Explorer

Hi, 

I have a some problem.

I want modify the hdfs-site.xml but i can't to do this. i receive this message :

Could not save the file etc/alternatives/hadoop-conf/hdfs-site.xml

you do not have the permession necessary to save the file.

Please check that you typed the location correctly and try again.

What i could do here?

I hope find your help, i'm blocked here. Thank you

Don't have an account?
Coming from Hortonworks? Activate your account here