How to edit a configuration file
Hello,
As part of a class I am in, we have tasks to edit the configuration files to include or change certain properties. I have found numerous articles detailing the importance of changing these properties but cannot find any explaining HOW TO change properties, either through the CLI or the web interface. We are using Hortonworks Hadoop Sandbox HDP through a virtual machine.
For instance, in one of our tasks, we are to configure wire encryption. I understand that I need to edit the core-site.xml configuration file to include the property
hadoop.rpc.protection=privacy
But I do not understand how to do so. I have tried going into the CLI, and the furthest I can make it is to change the directory to etc/hadoop/conf where the file is located. I can also view the file properties using the vi command. But how can I add a property to the file, or replace the value if it an existing property. I have searched and searched google for a guide to do this but have had no luck.
I also tried going through Ambari -> files to find the core-site.xml file but I cannot find it. I don't believe that the maria_dev profile that we are given to use has permissions to view that file perhaps, or it cannot be accessed through Ambari.
I also tried using a connection through WinSCP to access the file directly from my computer, and edit it there, but when I tried to save the file I got a "Permission denied" message in response.
Very sorry if this is a basic question, and I greatly appreciate your help!

