<?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: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97325#M10779</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt;&lt;P&gt; Thank you! No symlinks allowed at corporate level. &lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2015 01:46:30 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2015-11-20T01:46:30Z</dc:date>
    <item>
      <title>Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97323#M10777</link>
      <description>&lt;P&gt;Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 01:42:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97323#M10777</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-20T01:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97324#M10778</link>
      <description>&lt;P&gt;There's no single point where this change can be made. The reason is many components in the HDP stack will have their own log locations all set to /var/log.&lt;/P&gt;&lt;P&gt;The good news is most of the components already create a subdir for their logs under /var/log.&lt;/P&gt;&lt;P&gt;You could try symlinking /var/log/&amp;lt;component&amp;gt; to /var/log/hdp/&amp;lt;component&amp;gt; post-install, but the downside is having to apply the change on every node and deviating from defaults.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 01:45:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97324#M10778</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2015-11-20T01:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97325#M10779</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt;&lt;P&gt; Thank you! No symlinks allowed at corporate level. &lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 01:46:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97325#M10779</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-11-20T01:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97326#M10780</link>
      <description>&lt;P&gt;The best time to change log directories is at installation where each of the different components will expose their log directory prefix.  This is where you can choose an alternate log directory prefix for which all component-specific logs will be created under.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/519-log-dir-prefix.png"&gt;log-dir-prefix.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 02:01:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97326#M10780</guid>
      <dc:creator>pcodding</dc:creator>
      <dc:date>2015-11-20T02:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97327#M10781</link>
      <description>&lt;P&gt;If you've missed a folder at install time, you can use the API to amend it post-install, First, you will need to stop the service. You can then use the configs.sh script to easily modify it.&lt;/P&gt;&lt;P&gt;configs.sh is located in /var/lib/ambari-server/resources/scripts on your ambari server&lt;/P&gt;&lt;P&gt;If you would like to change the zookeeper log dir.&lt;/P&gt;&lt;P&gt;./configs.sh set localhost &amp;lt;clustername&amp;gt; zookeeper-env zk_log_dir “/my/new/zookeeper/log/directory”&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:26:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97327#M10781</guid>
      <dc:creator>orenault</dc:creator>
      <dc:date>2015-11-20T16:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97328#M10782</link>
      <description>&lt;P&gt;I used: &lt;/P&gt;&lt;PRE&gt;grep '/var/log' /var/lib/ambari-agent/cache/cluster_configuration/* &lt;/PRE&gt;&lt;P&gt;to identify all locations that need to be changed then Ambari/configs.sh to make the adjustments. &lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:55:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97328#M10782</guid>
      <dc:creator>vzlatkin</dc:creator>
      <dc:date>2016-03-15T02:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Log file location - Is there a way to change /var/log location to /var/log/hdp during the install ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97329#M10783</link>
      <description>&lt;P&gt;It's simple to change it with ambari UI. Otherwise use the ambari configs.sh script and restart all the services. It's smooth and easy.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 04:13:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Log-file-location-Is-there-a-way-to-change-var-log-location/m-p/97329#M10783</guid>
      <dc:creator>rbaskaran</dc:creator>
      <dc:date>2017-04-01T04:13:57Z</dc:date>
    </item>
  </channel>
</rss>

