<?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>topic Spark Batch Job has different logging level in console than in YARN JobHistory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Spark-Batch-Job-has-different-logging-level-in-console-than-in/m-p/2479441#M141227</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm using &lt;LI-PRODUCT title="Talend Big Data" id="qlik_TalendBigData"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;version 7.3.1 with the 2020-09 patch applied. I'm using a remote connection to the &lt;LI-PRODUCT title="Talend Administration Center" id="qlik_TalendAdministrationCenter"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;to work on a Spark Batch job (spark ver 2.4.0) in a Cloudera Enterprise 6.3.1 enviroment.&lt;/P&gt;
&lt;P&gt;This spark batch job has configured the default log level of WARN on console, since it's unchanged in advanced settings.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaruro2810_0-1725383263808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171234i4493CF1A1FCF5A2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaruro2810_0-1725383263808.png" alt="Jaruro2810_0-1725383263808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Yet, for some reason, on the JobHistory logs it shows up on TRACE level.&lt;/P&gt;
&lt;PRE&gt;[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- ApplicationAttemptId: appattempt_1724052715153_5149_000002
[DEBUG] 13:08:32 org.apache.spark.util.ShutdownHookManager- Adding shutdown hook
[TRACE] 13:08:32 org.apache.hadoop.security.SecurityUtil- Name lookup for &amp;lt;&amp;lt;private url&amp;gt;&amp;gt; took 0 ms.
[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- Starting the user application in a separate Thread
[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- Waiting for spark context initialization...&lt;/PRE&gt;
&lt;P&gt;This is the ONLY job in our project that does this. The other spark batches correctly generate up to WARN level in JobHistory, including newly created ones.&lt;/P&gt;
&lt;P&gt;I'd like to find the reason behind this. Any help is appreciated.&lt;/P&gt;
&lt;P&gt;Thanks, Jaruro2810.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 17:25:11 GMT</pubDate>
    <dc:creator>Jaruro2810</dc:creator>
    <dc:date>2024-09-03T17:25:11Z</dc:date>
    <item>
      <title>Spark Batch Job has different logging level in console than in YARN JobHistory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Spark-Batch-Job-has-different-logging-level-in-console-than-in/m-p/2479441#M141227</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm using &lt;LI-PRODUCT title="Talend Big Data" id="qlik_TalendBigData"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;version 7.3.1 with the 2020-09 patch applied. I'm using a remote connection to the &lt;LI-PRODUCT title="Talend Administration Center" id="qlik_TalendAdministrationCenter"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;to work on a Spark Batch job (spark ver 2.4.0) in a Cloudera Enterprise 6.3.1 enviroment.&lt;/P&gt;
&lt;P&gt;This spark batch job has configured the default log level of WARN on console, since it's unchanged in advanced settings.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jaruro2810_0-1725383263808.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171234i4493CF1A1FCF5A2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jaruro2810_0-1725383263808.png" alt="Jaruro2810_0-1725383263808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Yet, for some reason, on the JobHistory logs it shows up on TRACE level.&lt;/P&gt;
&lt;PRE&gt;[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- ApplicationAttemptId: appattempt_1724052715153_5149_000002
[DEBUG] 13:08:32 org.apache.spark.util.ShutdownHookManager- Adding shutdown hook
[TRACE] 13:08:32 org.apache.hadoop.security.SecurityUtil- Name lookup for &amp;lt;&amp;lt;private url&amp;gt;&amp;gt; took 0 ms.
[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- Starting the user application in a separate Thread
[INFO ] 13:08:32 org.apache.spark.deploy.yarn.ApplicationMaster- Waiting for spark context initialization...&lt;/PRE&gt;
&lt;P&gt;This is the ONLY job in our project that does this. The other spark batches correctly generate up to WARN level in JobHistory, including newly created ones.&lt;/P&gt;
&lt;P&gt;I'd like to find the reason behind this. Any help is appreciated.&lt;/P&gt;
&lt;P&gt;Thanks, Jaruro2810.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 17:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Spark-Batch-Job-has-different-logging-level-in-console-than-in/m-p/2479441#M141227</guid>
      <dc:creator>Jaruro2810</dc:creator>
      <dc:date>2024-09-03T17:25:11Z</dc:date>
    </item>
  </channel>
</rss>

