<?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 Java Spark driver and executor logs in cluster mode in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315400#M226452</link>
    <description>&lt;PRE&gt;&lt;SPAN&gt;--driver-java-options %%JAVA_OPTIONS%% --driver-memory 6g &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--master dse://?workpool=default &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--deploy-mode cluster &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--supervise &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--conf spark.executor.extraJavaOptions=%%EXECUTOR_JAVA_OPTIONS%% --total-executor-cores 6 --executor-memory 6g --num-executors 6 &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--conf spark.driver.extraClassPath=${CLASSPATH} --conf spark.executor.extraClassPath=${CLASSPATH} &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;%%ADDITIONAL_SPARK_SUBMIT_CONFIGS%% &lt;/SPAN&gt;\&lt;BR /&gt;&lt;BR /&gt;using the above configuration.&lt;BR /&gt;&lt;BR /&gt;I am trying to consolidate driver and worker node logs in console or single file and new to spark application.&lt;BR /&gt;Can you please provide your adivse&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 27 Apr 2021 17:56:49 GMT</pubDate>
    <dc:creator>Sugumar</dc:creator>
    <dc:date>2021-04-27T17:56:49Z</dc:date>
    <item>
      <title>Java Spark driver and executor logs in cluster mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315400#M226452</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;--driver-java-options %%JAVA_OPTIONS%% --driver-memory 6g &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--master dse://?workpool=default &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--deploy-mode cluster &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--supervise &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--conf spark.executor.extraJavaOptions=%%EXECUTOR_JAVA_OPTIONS%% --total-executor-cores 6 --executor-memory 6g --num-executors 6 &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;--conf spark.driver.extraClassPath=${CLASSPATH} --conf spark.executor.extraClassPath=${CLASSPATH} &lt;/SPAN&gt;\&lt;BR /&gt;&lt;SPAN&gt;%%ADDITIONAL_SPARK_SUBMIT_CONFIGS%% &lt;/SPAN&gt;\&lt;BR /&gt;&lt;BR /&gt;using the above configuration.&lt;BR /&gt;&lt;BR /&gt;I am trying to consolidate driver and worker node logs in console or single file and new to spark application.&lt;BR /&gt;Can you please provide your adivse&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Apr 2021 17:56:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315400#M226452</guid>
      <dc:creator>Sugumar</dc:creator>
      <dc:date>2021-04-27T17:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java Spark driver and executor logs in cluster mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315857#M226597</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88103"&gt;@Sugumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you run application in client mode, you can see driver logs in your console (where you have submitted application) and executor logs in respected container.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the case of cluster mode, spark driver will be launched in one of the container. So you will not see driver logs in console.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the logs in yarn,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;yarn logs -applicationId &amp;lt;Application_ID&amp;gt; &amp;gt; application_id.log&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 06:56:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315857#M226597</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-05-04T06:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Java Spark driver and executor logs in cluster mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315859#M226599</link>
      <description>&lt;P&gt;I am running spark job using DSE not yarn client/cluster mode,&amp;nbsp;&lt;/P&gt;&lt;P&gt;herewith i am including spark submit command for your reference,&lt;/P&gt;&lt;P&gt;-- spark-submit \&lt;BR /&gt;--driver-java-options %%JAVA_OPTIONS%% --driver-memory 6g \&lt;BR /&gt;--master dse://?workpool=default \&lt;BR /&gt;--deploy-mode cluster \&lt;BR /&gt;--supervise \&lt;BR /&gt;--conf spark.executor.extraJavaOptions=%%EXECUTOR_JAVA_OPTIONS%% --total-executor-cores 6 --executor-memory 6g --num-executors 6 \&lt;BR /&gt;--conf spark.driver.extraClassPath=${CLASSPATH} --conf spark.executor.extraClassPath=${CLASSPATH} \&lt;BR /&gt;%%ADDITIONAL_SPARK_SUBMIT_CONFIGS%% \&lt;BR /&gt;--class com.test.start.RptProcessor file:%%JAR_PATH%%&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 07:17:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315859#M226599</guid>
      <dc:creator>Sugumar</dc:creator>
      <dc:date>2021-05-04T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Java Spark driver and executor logs in cluster mode</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315871#M226603</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88103"&gt;@Sugumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have much idea on DSE cluster. Please check the following link maybe it will help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.datastax.com/en/dse/6.7/dse-admin/datastax_enterprise/spark/sparkLogging.html" target="_blank"&gt;https://docs.datastax.com/en/dse/6.7/dse-admin/datastax_enterprise/spark/sparkLogging.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 08:48:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Java-Spark-driver-and-executor-logs-in-cluster-mode/m-p/315871#M226603</guid>
      <dc:creator>RangaReddy</dc:creator>
      <dc:date>2021-05-04T08:48:11Z</dc:date>
    </item>
  </channel>
</rss>

