<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to edit a configuration file in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356495#M237307</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100216"&gt;@Chaos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can navigate to&amp;nbsp;&lt;SPAN class="guilabel"&gt;&lt;STRONG&gt;Ambari Web &amp;gt; Services &amp;gt; HDFS &amp;gt; Configs&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, then expand&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;STRONG&gt;Advanced core-site&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add the required configuration, save and restart (if required).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Oct 2022 05:31:44 GMT</pubDate>
    <dc:creator>tj2007</dc:creator>
    <dc:date>2022-10-31T05:31:44Z</dc:date>
    <item>
      <title>How to edit a configuration file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356483#M237301</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As part of a class I am in, we have tasks to edit the configuration files to include or change certain properties.&amp;nbsp; &amp;nbsp;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.&amp;nbsp; We are using Hortonworks Hadoop Sandbox HDP through a virtual machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance, in one of our tasks, we are to configure wire encryption.&amp;nbsp; I understand that I need to edit the core-site.xml configuration file to include the property&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hadoop.rpc.protection=privacy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I do not understand how to do so.&amp;nbsp; 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.&amp;nbsp; I can also view the file properties using the vi command.&amp;nbsp; But how can I add a property to the file, or replace the value if it an existing property.&amp;nbsp; I have searched and searched google for a guide to do this but have had no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried going through Ambari -&amp;gt; files to find the core-site.xml file but I cannot find it.&amp;nbsp; 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.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very sorry if this is a basic question, and I greatly appreciate your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 18:53:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356483#M237301</guid>
      <dc:creator>Chaos</dc:creator>
      <dc:date>2022-10-30T18:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit a configuration file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356495#M237307</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/100216"&gt;@Chaos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can navigate to&amp;nbsp;&lt;SPAN class="guilabel"&gt;&lt;STRONG&gt;Ambari Web &amp;gt; Services &amp;gt; HDFS &amp;gt; Configs&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, then expand&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;STRONG&gt;Advanced core-site&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add the required configuration, save and restart (if required).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 05:31:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356495#M237307</guid>
      <dc:creator>tj2007</dc:creator>
      <dc:date>2022-10-31T05:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit a configuration file</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356876#M237397</link>
      <description>&lt;P&gt;I learned that I needed to follow a series of steps to essentially enable the admin (root username) account.&amp;nbsp; The Maria_Dev and Raj_Ops accounts they provided did not have privileges to access or edit those files apparently.&amp;nbsp; I logged into the CLI as root with the default password of hadoop, then went through the mandatory password change procedure and the account was enabled.&amp;nbsp; With Root enabled I was able to access and edit the files via a connection through WinSCP.&amp;nbsp; I didn't try Ambari, though I'm certain that option would have worked as well.&amp;nbsp; When I initially tried accessing the directory under Ambari the etc folder and many others were not showing at all, like they were hidden.&amp;nbsp; I think that was due to the limited privileges of the other two accounts.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 15:18:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-edit-a-configuration-file/m-p/356876#M237397</guid>
      <dc:creator>Chaos</dc:creator>
      <dc:date>2022-11-03T15:18:21Z</dc:date>
    </item>
  </channel>
</rss>

