<?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: Some questions with Spark Listener in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/383116#M244830</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/94989"&gt;@Meepoljd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know still you need any help on this issue. If any of the above solutions is helped then mark Accept as Solution.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 04:05:01 GMT</pubDate>
    <dc:creator>RangaReddy</dc:creator>
    <dc:date>2024-02-05T04:05:01Z</dc:date>
    <item>
      <title>Some questions with Spark Listener</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/359008#M237997</link>
      <description>&lt;P&gt;Hi,r&lt;SPAN&gt;ecently I have been trying to track my spark application using SparkListener.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now&amp;nbsp;I have a problem: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;There is a application,&amp;nbsp;the result of its execution is SUCCESSED on Yarn WebUI,but it's actually a failed application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And my listener class can not get the error message,the application log only show the Start events for failed jobs and tasks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Some can help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Meepoljd_1-1670383825382.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36416i7EF32032EE12A977/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Meepoljd_1-1670383825382.png" alt="Meepoljd_1-1670383825382.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Meepoljd_0-1670383733464.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36415i7A95E2BE46F9C1AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Meepoljd_0-1670383733464.png" alt="Meepoljd_0-1670383733464.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 03:34:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/359008#M237997</guid>
      <dc:creator>Meepoljd</dc:creator>
      <dc:date>2022-12-07T03:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions with Spark Listener</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/378109#M243426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/94989"&gt;@Meepoljd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you checked any exceptions/warnings in the spark application logs and event logs. And also check you listeners are implemented properly and spark application handled exceptions correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 04:54:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/378109#M243426</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2023-10-25T04:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions with Spark Listener</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/378425#M243533</link>
      <description>&lt;P&gt;On&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;onStageCompleted&lt;/PRE&gt;&lt;P&gt;you should have also the failures and the info on why it failed with&amp;nbsp;&lt;A title="class in org.apache.spark.scheduler" href="https://spark.apache.org/docs/latest/api/java/org/apache/spark/scheduler/StageInfo.html" target="_blank"&gt;StageInfo&lt;/A&gt;.&lt;SPAN class="memberNameLink"&gt;&lt;A href="https://spark.apache.org/docs/latest/api/java/org/apache/spark/scheduler/StageInfo.html#failureReason--" target="_blank"&gt;failureReason&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check on the standard event log JSON if the logger stored that event, if it also does not have it, then it means your listener might have an issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are not really seeing the StageCompleted event anywhere ( not even on the event log), it probably means the failure was more than just a regular error and it had a major error/crash that aborted the execution of that stage in a way that no StageCompleted was ever sent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also bear in mind that there are specific listeners for SQL execution with fail/success events:&amp;nbsp;&lt;A title="interface in org.apache.spark.sql.util" href="https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/util/QueryExecutionListener.html" target="_blank"&gt;QueryExecutionListener&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 15:07:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/378425#M243533</guid>
      <dc:creator>tsokorai</dc:creator>
      <dc:date>2023-11-01T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Some questions with Spark Listener</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/383116#M244830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/94989"&gt;@Meepoljd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know still you need any help on this issue. If any of the above solutions is helped then mark Accept as Solution.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 04:05:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Some-questions-with-Spark-Listener/m-p/383116#M244830</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2024-02-05T04:05:01Z</dc:date>
    </item>
  </channel>
</rss>

