You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Kevin Tsai (JIRA)" <ji...@apache.org> on 2015/11/27 10:45:10 UTC

[jira] [Created] (ZEPPELIN-470) NoSuchMethodError: scala.Predef ... with defining SPARK_HOME

Kevin Tsai created ZEPPELIN-470:
-----------------------------------

             Summary: NoSuchMethodError: scala.Predef ... with defining SPARK_HOME
                 Key: ZEPPELIN-470
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-470
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.5.5
         Environment: CentOS 6.5
JDK 1.7.0_75
Maven 3.3.9
Hadoop 2.6.2
Spark 1.5.2
Zeppelin 0.5.5
            Reporter: Kevin Tsai


It's standalone environment (1 Linux Box).
The Hadoop, Spark and Zeppelin are built from source and the building command for Zeppelin is:
mvn clean package -Pspark-1.5 -Dhadoop.version=2.6.2 -Phadoop-2.6 -Pyarn -Ppyspark -DskipTests

The zeppelin-env.sh file that defined SPARK_HOME as the Spark installed directory.

When ran the 'sc.version' in the Notebook,
The log/zeppelin-xxx.out file shows the error messages as follows:
...
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;
        at org.apache.spark.util.Utils$.getDefaultPropertiesFile(Utils.scala:1838)
        at org.apache.spark.deploy.SparkSubmitArguments$$anonfun$mergeDefaultSparkProperties$1.apply(SparkSubmitArguments.scala:117)
...

Any ideas of how can be fixed? Any help will be appreciated.

Thanks.




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