<?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 How to execute a spark-submit on a databricks job for a spring-boot jar built using maven.
Failing with error :
Error: Failed to load class com.****.settlement.jobs.EntryPoint. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-execute-a-spark-submit-on-a-databricks-job-for-a-spring/m-p/21826#M14915</link>
    <description>&lt;P&gt;I have setup a spring boot application which works as expected as a standalone spring boot app.&lt;/P&gt;&lt;P&gt;When i build the jar and try to set it up as a databricks job, i am facing these issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting same error in local as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using maven-shade-plugin to make it compatible with databricks as i read in some post.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/usr/local/Cellar/apache-spark/3.2.1 ./bin/spark-submit \
  --class com.****.settlement.jobs.EntryPoint \
  --master local \
  /Users/dineshkumar/.m2/repository/com/****/settlement/jobs/exchange-rate-jobs/0.0.1-SNAPSHOT/exchange-rate-jobs-0.0.1-SNAPSHOT.jar \
  1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;22/04/29 12:29:04 WARN Utils: Your hostname, dineshkumar-macbookpro.local resolves to a loopback address: 127.0.0.1; using 192.168.225.161 instead (on interface en0)&lt;/P&gt;&lt;P&gt;22/04/29 12:29:04 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address&lt;/P&gt;&lt;P&gt;WARNING: An illegal reflective access operation has occurred&lt;/P&gt;&lt;P&gt;WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:/usr/local/Cellar/apache-spark/3.2.1/libexec/jars/spark-unsafe_2.12-3.2.1.jar) to constructor java.nio.DirectByteBuffer(long,int)&lt;/P&gt;&lt;P&gt;WARNING: Please consider reporting this to the maintainers of org.apache.spark.unsafe.Platform&lt;/P&gt;&lt;P&gt;WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations&lt;/P&gt;&lt;P&gt;WARNING: All illegal access operations will be denied in a future release&lt;/P&gt;&lt;P&gt;Error: Failed to load class com.tidal.settlement.jobs.EntryPoint.&lt;/P&gt;&lt;P&gt;log4j:WARN No appenders could be found for logger (org.apache.spark.util.ShutdownHookManager).&lt;/P&gt;&lt;P&gt;log4j:WARN Please initialize the log4j system properly.&lt;/P&gt;&lt;P&gt;log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="test_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2022 07:15:17 GMT</pubDate>
    <dc:creator>DineshNO</dc:creator>
    <dc:date>2022-04-29T07:15:17Z</dc:date>
    <item>
      <title>How to execute a spark-submit on a databricks job for a spring-boot jar built using maven.
Failing with error :
Error: Failed to load class com.****.settlement.jobs.EntryPoint.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-execute-a-spark-submit-on-a-databricks-job-for-a-spring/m-p/21826#M14915</link>
      <description>&lt;P&gt;I have setup a spring boot application which works as expected as a standalone spring boot app.&lt;/P&gt;&lt;P&gt;When i build the jar and try to set it up as a databricks job, i am facing these issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am getting same error in local as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using maven-shade-plugin to make it compatible with databricks as i read in some post.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/usr/local/Cellar/apache-spark/3.2.1 ./bin/spark-submit \
  --class com.****.settlement.jobs.EntryPoint \
  --master local \
  /Users/dineshkumar/.m2/repository/com/****/settlement/jobs/exchange-rate-jobs/0.0.1-SNAPSHOT/exchange-rate-jobs-0.0.1-SNAPSHOT.jar \
  1000&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;22/04/29 12:29:04 WARN Utils: Your hostname, dineshkumar-macbookpro.local resolves to a loopback address: 127.0.0.1; using 192.168.225.161 instead (on interface en0)&lt;/P&gt;&lt;P&gt;22/04/29 12:29:04 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address&lt;/P&gt;&lt;P&gt;WARNING: An illegal reflective access operation has occurred&lt;/P&gt;&lt;P&gt;WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:/usr/local/Cellar/apache-spark/3.2.1/libexec/jars/spark-unsafe_2.12-3.2.1.jar) to constructor java.nio.DirectByteBuffer(long,int)&lt;/P&gt;&lt;P&gt;WARNING: Please consider reporting this to the maintainers of org.apache.spark.unsafe.Platform&lt;/P&gt;&lt;P&gt;WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations&lt;/P&gt;&lt;P&gt;WARNING: All illegal access operations will be denied in a future release&lt;/P&gt;&lt;P&gt;Error: Failed to load class com.tidal.settlement.jobs.EntryPoint.&lt;/P&gt;&lt;P&gt;log4j:WARN No appenders could be found for logger (org.apache.spark.util.ShutdownHookManager).&lt;/P&gt;&lt;P&gt;log4j:WARN Please initialize the log4j system properly.&lt;/P&gt;&lt;P&gt;log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="test_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 07:15:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-execute-a-spark-submit-on-a-databricks-job-for-a-spring/m-p/21826#M14915</guid>
      <dc:creator>DineshNO</dc:creator>
      <dc:date>2022-04-29T07:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a spark-submit on a databricks job for a spring-boot jar built using maven.
Failing with error :
Error: Failed to load class com.****.settlement.jobs.EntryPoint.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-execute-a-spark-submit-on-a-databricks-job-for-a-spring/m-p/21827#M14916</link>
      <description>&lt;P&gt;could you please try with python terminal and see how that behaves?I am not 100% sure if this is relates to your use case.&lt;/P&gt;&lt;P&gt;@Dinesh L​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 18:34:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-execute-a-spark-submit-on-a-databricks-job-for-a-spring/m-p/21827#M14916</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-09-13T18:34:45Z</dc:date>
    </item>
  </channel>
</rss>

