<?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 configure spark-log4j-properties in Ambari UI? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-configure-spark-log4j-properties-in-Ambari-UI/m-p/115360#M54953</link>
    <description>&lt;P&gt;That log4j only affects the service daemons like spark history server and anything you run on the client machines. For executors/drivers that run on YARN machines, the log4j file has to be passed to them using "--files" option during job submit and then referenced via JVM property via JVM arguments "-Dlog4j.configuration" . See &lt;A target="_blank" href="https://community.hortonworks.com/questions/36027/log4jproperties-override-spark-executor.html"&gt;here&lt;/A&gt; for examples.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 11:04:31 GMT</pubDate>
    <dc:creator>bikas</dc:creator>
    <dc:date>2017-02-21T11:04:31Z</dc:date>
    <item>
      <title>How to configure spark-log4j-properties in Ambari UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-configure-spark-log4j-properties-in-Ambari-UI/m-p/115359#M54952</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to change the log4j properties in a Spark on Yarn application by changing the Advanced spark-log4j-properties config in Ambari UI. However, this does not seem to change the logs in any way. Right now logs are writing to both stderr and stdout and also there is no timestamp on the stdout log messages (which is needed). Is there another way that this should be done outside of the Ambari UI?? &lt;/P&gt;&lt;P&gt;Spark version: 1.6 and HDP version: 2.5 &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fearghal&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 01:35:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-configure-spark-log4j-properties-in-Ambari-UI/m-p/115359#M54952</guid>
      <dc:creator>fearghal_coyne</dc:creator>
      <dc:date>2017-02-21T01:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure spark-log4j-properties in Ambari UI?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-configure-spark-log4j-properties-in-Ambari-UI/m-p/115360#M54953</link>
      <description>&lt;P&gt;That log4j only affects the service daemons like spark history server and anything you run on the client machines. For executors/drivers that run on YARN machines, the log4j file has to be passed to them using "--files" option during job submit and then referenced via JVM property via JVM arguments "-Dlog4j.configuration" . See &lt;A target="_blank" href="https://community.hortonworks.com/questions/36027/log4jproperties-override-spark-executor.html"&gt;here&lt;/A&gt; for examples.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 11:04:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-configure-spark-log4j-properties-in-Ambari-UI/m-p/115360#M54953</guid>
      <dc:creator>bikas</dc:creator>
      <dc:date>2017-02-21T11:04:31Z</dc:date>
    </item>
  </channel>
</rss>

