<?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: HUE Spark notebook ClassNotFoundException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/55712#M21555</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is there is an&amp;nbsp;&amp;nbsp;alternative to the &lt;/SPAN&gt;--jars&lt;SPAN&gt; option of &lt;/SPAN&gt;spark-submit in the spark notebook in Hue?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2017 15:47:06 GMT</pubDate>
    <dc:creator>Fawze</dc:creator>
    <dc:date>2017-06-12T15:47:06Z</dc:date>
    <item>
      <title>HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36582#M21549</link>
      <description>&lt;P&gt;Hi to all!&lt;/P&gt;&lt;P&gt;Do you know why I am keep getting this error below when running SparkWordCount jar app in HUE Spark Notebook? My HUE version is 3.9.0 (CDH 5.5.1). Do you think you can please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Path: &lt;EM&gt;/user/hdfs/SparkWordCount-1.0-SNAPSHOT.jar&lt;/EM&gt;&lt;BR /&gt;Class: &lt;EM&gt;cz.tmobile.surovecv.sparkwordcount.JavaWordCount&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="error.PNG" style="width: 858px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1414iC4EF9D047E022A89/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/avro-tools-1.7.6-cdh5.5.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" rel="nofollow" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Warning: Local jar /user/hdfs/SparkWordCount-1.0-SNAPSHOT.jar does not exist, skipping.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;java.lang.ClassNotFoundException: cz.tmobile.surovecv.sparkwordcount.JavaWordCount&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:354)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:425)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:358)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.lang.Class.forName0(Native Method)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.lang.Class.forName(Class.java:270)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.util.Utils$.classForName(Utils.scala:173)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:639)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:162)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$$anon$1.run(SparkSubmit.scala:160)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at javax.security.auth.Subject.doAs(Subject.java:415)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:160)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:59:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36582#M21549</guid>
      <dc:creator>surovecv</dc:creator>
      <dc:date>2022-09-16T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36593#M21550</link>
      <description>Are you running Livy in the default local mode? (not YARN)&lt;BR /&gt;What did you put in the jar input field?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jan 2016 17:40:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36593#M21550</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-01-25T17:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36601#M21551</link>
      <description>&lt;P&gt;Hi Romain!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running like this:&amp;nbsp;&lt;EM&gt;./build/env/bin/hue livy_server &lt;/EM&gt;as it was in the manual on gethue.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...and what do you mean by the second question?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 21:09:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36601#M21551</guid>
      <dc:creator>surovecv</dc:creator>
      <dc:date>2016-01-25T21:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36864#M21552</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I am running in local mode and I did not put anything in the jar input field...&lt;/P&gt;&lt;P&gt;Thank you for any help!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 16:45:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36864#M21552</guid>
      <dc:creator>surovecv</dc:creator>
      <dc:date>2016-01-30T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36865#M21553</link>
      <description>&lt;P&gt;Here is the log from the command line when building the livy server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ ./build/env/bin/hue livy_server&lt;BR /&gt;&lt;EM&gt;SLF4J: Class path contains multiple SLF4J bindings.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/livy-assembly.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: Found binding in [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#multiple_bindings" target="_blank"&gt;http://www.slf4j.org/codes.html#multiple_bindings&lt;/A&gt; for an explanation.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:35.621 [main] INFO com.cloudera.hue.livy.server.Main$ - Using spark-submit version 1.5.0-cdh5.5.1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:35.694 [main] INFO com.cloudera.hue.jetty.util.log - Logging initialized @6518ms&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:35.929 [main] INFO com.cloudera.hue.jetty.server.Server - jetty-9.2.z-SNAPSHOT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36.012 [main] INFO o.scalatra.servlet.ScalatraListener - The cycle class name from the config: com.cloudera.hue.livy.server.ScalatraBootstrap&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36.038 [main] INFO o.scalatra.servlet.ScalatraListener - Initializing life cycle class: ScalatraBootstrap&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36.044 [main] INFO c.c.h.livy.server.ScalatraBootstrap - Using Process() sessions&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36.705 [main] INFO c.c.h.j.s.handler.ContextHandler - Started c.c.h.j.s.ServletContextHandler@7766c836{/,file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/src/main/com/cloudera/hue/livy/server,AVAILABLE}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,705 |-INFO in null - Will use configuration resource [/logback-access.xml]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,707 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@ed2be35 - URL [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/livy-assembly.jar!/logback-access.xml] is not of type file&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,714 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,714 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,716 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,735 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,735 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,736 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@60d2b97b - Registering current configuration as safe fallback point&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,705 |-INFO in LogbackRequestLog - Will use configuration resource [/logback-access.xml]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,707 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@ed2be35 - URL [jar:file:/pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/jars/livy-assembly.jar!/logback-access.xml] is not of type file&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,714 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - debug attribute not set&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,714 |-INFO in ch.qos.logback.core.joran.action.StatusListenerAction - Added status listener of type [ch.qos.logback.core.status.OnConsoleStatusListener]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,715 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,716 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.access.PatternLayoutEncoder] for [encoder] property&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,735 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to null&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,735 |-INFO in ch.qos.logback.access.joran.action.ConfigurationAction - End of configuration.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:36,736 |-INFO in ch.qos.logback.access.joran.JoranConfigurator@60d2b97b - Registering current configuration as safe fallback point&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;07:02:36.757 [main] INFO c.c.hue.jetty.server.ServerConnector - Started ServerConnector@3e3d6c70{HTTP/1.1}{localhost:8998}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:40.954 [main] INFO com.cloudera.hue.jetty.server.Server - Started @11779ms&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:02:40.959 [main] INFO com.cloudera.hue.livy.WebServer - Starting server on 8998&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:07:05.436 [ForkJoinPool-1-worker-1] INFO c.c.h.l.s.SparkSubmitProcessBuilder - Running /pkg/moip/data2_mzlp/mzpl/work/cloudera/parcels/CDH/lib/spark/bin/spark-submit --name Livy --class cz.tmobile.surovecv.sparkwordcount.JavaWordCount --proxy-user hdfs file:////user/cdrstore/jars/SparkWordCount-1.0-SNAPSHOT.jar /user/cdrstore/pokus.txt 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;07:07:05.460 [ForkJoinPool-1-worker-1] INFO c.c.hue.livy.server.SessionManager - created session 0&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 17:17:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36865#M21553</guid>
      <dc:creator>surovecv</dc:creator>
      <dc:date>2016-01-30T17:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36899#M21554</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I solved by uploading the jar file on the (local) unix filesystem (with prefix file://) instead of using it from HDFS. I don't know why, but even with the prefix "hdfs://" HUE or Spark was not able to use it from that Path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Václav&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:08:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/36899#M21554</guid>
      <dc:creator>surovecv</dc:creator>
      <dc:date>2016-02-01T11:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: HUE Spark notebook ClassNotFoundException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/55712#M21555</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is there is an&amp;nbsp;&amp;nbsp;alternative to the &lt;/SPAN&gt;--jars&lt;SPAN&gt; option of &lt;/SPAN&gt;spark-submit in the spark notebook in Hue?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 15:47:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HUE-Spark-notebook-ClassNotFoundException/m-p/55712#M21555</guid>
      <dc:creator>Fawze</dc:creator>
      <dc:date>2017-06-12T15:47:06Z</dc:date>
    </item>
  </channel>
</rss>

