You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Egor Pahomov (JIRA)" <ji...@apache.org> on 2017/01/07 21:17:58 UTC

[jira] [Created] (ZEPPELIN-1922) Wrong version of jackson fails spark code

Egor Pahomov created ZEPPELIN-1922:
--------------------------------------

             Summary: Wrong version of jackson fails spark code
                 Key: ZEPPELIN-1922
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1922
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.6.2
            Reporter: Egor Pahomov
            Priority: Blocker


With spark 2.0.2 with yarn turned on(really everything turned on) conflict of versions prevent from spark code to execute:
I'm getting 

{code}
import org.apache.commons.io.IOUtils
import java.net.URL
import java.nio.charset.Charset
java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.rdd.RDDOperationScope$
  at org.apache.spark.SparkContext.withScope(SparkContext.scala:679)
  at org.apache.spark.SparkContext.parallelize(SparkContext.scala:693)
{code}

And sometimes some sane information about jackson issue.

It seems, that I'm not the only one:

http://stackoverflow.com/questions/40329663/zeppelin-java-lang-noclassdeffounderror-could-not-initialize-class-org-apache-s

The way I've build docker:

https://github.com/epahomov/docker-zeppelin/blob/master/Dockerfile




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)