<?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 Re: Executing Spark Job 2.0 fails on local machine in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197608#M1284</link>
    <description>Hi,&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;So far, there is no support of Spark 2.0 i&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;n V 6.2.1.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;You need to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;bring the jars and to load them in the Spark configuration with&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;a Custom distribution for&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Spark 2.0.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Sat, 08 Oct 2016 07:54:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-08T07:54:18Z</dc:date>
    <item>
      <title>Executing Spark Job 2.0 fails on local machine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197607#M1283</link>
      <description>i have an job with Cassandra Connection being transformed as an Spark job 
&lt;BR /&gt;while the job executes sucessfully with Spark 1.6 (Deafult) , it fails with Spark 2.0 with the below error message 
&lt;BR /&gt;could you please let me know what could be the extra libraries that could be missing out here ? 
&lt;BR /&gt; 
&lt;U&gt;environment :&lt;/U&gt; 
&lt;BR /&gt;Talend Version : 6.2.1 
&lt;BR /&gt;Spark version : 2.x 
&lt;BR /&gt; 
&lt;B&gt;&lt;FONT color="#1f497d"&gt;Error Message&lt;/FONT&gt;&lt;/B&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;Error: A JNI error has occurred, please check your installation and try again&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/api/java/JavaSparkContext&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.getDeclaredMethods0(Native Method)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.privateGetMethodRecursive(Class.java:3048)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.Class.getMethod0(Class.java:3018)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.getMethod(Class.java:1784)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;Caused by: java.lang.ClassNotFoundException: org.apache.spark.api.java.JavaSparkContext&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.findClass(URLClassLoader.java:381)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:424)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(ClassLoader.java:357)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="red"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... 7 more&lt;/FONT&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197607#M1283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Spark Job 2.0 fails on local machine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197608#M1284</link>
      <description>Hi,&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;So far, there is no support of Spark 2.0 i&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;n V 6.2.1.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;You need to&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;bring the jars and to load them in the Spark configuration with&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;a Custom distribution for&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Spark 2.0.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#212121"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Calibri, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Sat, 08 Oct 2016 07:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197608#M1284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-08T07:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Spark Job 2.0 fails on local machine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197609#M1285</link>
      <description>Hi
&lt;BR /&gt;I am getting below error, when I am running spark job
&lt;BR /&gt;Can you give me what jar we need to add.
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;U&gt;environment :&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Talend Version : 6.2.1&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Spark version : 1.6&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;ava.lang.NoClassDefFoundError: org/apache/spark/api/java/JavaSparkContext
&lt;BR /&gt;at java.lang.Class.getDeclaredMethods0(Native Method)
&lt;BR /&gt;at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
&lt;BR /&gt;at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
&lt;BR /&gt;at java.lang.Class.getMethod0(Class.java:3010)
&lt;BR /&gt;at java.lang.Class.getMethod(Class.java:1776)
&lt;BR /&gt;at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
&lt;BR /&gt;at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: org.apache.spark.api.java.JavaSparkContext
&lt;BR /&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
&lt;BR /&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
&lt;BR /&gt;at java.security.AccessController.doPrivileged(Native Method)
&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
&lt;BR /&gt;... 7 more
&lt;BR /&gt;Exception in thread "main"&amp;nbsp;</description>
      <pubDate>Wed, 08 Feb 2017 12:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197609#M1285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T12:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Spark Job 2.0 fails on local machine</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197610#M1286</link>
      <description>You are seeing this with local run? &amp;nbsp;Go to Help-&amp;gt; Installation Details -&amp;gt; Plug-ins and make sure you have all the spark libraries needed for that version.</description>
      <pubDate>Wed, 08 Feb 2017 16:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Executing-Spark-Job-2-0-fails-on-local-machine/m-p/2197610#M1286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T16:48:03Z</dc:date>
    </item>
  </channel>
</rss>

