Luciano Resende created TOREE-431:
-------------------------------------

             Summary: Toree build fails with Spark 2.2.0
                 Key: TOREE-431
                 URL: https://issues.apache.org/jira/browse/TOREE-431
             Project: TOREE
          Issue Type: Bug
          Components: Build
    Affects Versions: 0.2.0
            Reporter: Luciano Resende
            Assignee: Luciano Resende
             Fix For: 0.2.0


Build steps:
APACHE_SPARK_VERSION=2.2.0 make clean dist

Build issue:
[info] Compiling 1 Scala source to 
/Users/lresende/opensource/jupyter/incubator-toree/protocol/target/scala-2.11/classes...
[info] Compiling 63 Scala sources to 
/Users/lresende/opensource/jupyter/incubator-toree/kernel/target/scala-2.11/classes...
[error] 
/Users/lresende/opensource/jupyter/incubator-toree/kernel/src/main/scala/org/apache/toree/magic/builtin/BuiltinLoader.scala:20:
 object reflect is not a member of package com.google.common
[error] import com.google.common.reflect.ClassPath
[error]                          ^
[error] 
/Users/lresende/opensource/jupyter/incubator-toree/kernel/src/main/scala/org/apache/toree/magic/builtin/BuiltinLoader.scala:21:
 object reflect is not a member of package com.google.common
[error] import com.google.common.reflect.ClassPath.ClassInfo
[error]                          ^
[error] 
/Users/lresende/opensource/jupyter/incubator-toree/kernel/src/main/scala/org/apache/toree/magic/builtin/BuiltinLoader.scala:40:
 not found: type ClassInfo
[error]   def getClasses(pkg: String = pkgName): List[ClassInfo] = {
[error]                                               ^
[error] 
/Users/lresende/opensource/jupyter/incubator-toree/kernel/src/main/scala/org/apache/toree/magic/builtin/BuiltinLoader.scala:46:
 not found: value ClassPath
[error]         val classPath = ClassPath.from(this.getClass.getClassLoader)
[error]                         ^
[error] four errors found
[error] (kernel/compile:compileIncremental) Compilation failed
[error] Total time: 7 s, completed Aug 8, 2017 5:02:41 PM
make: *** [target/scala-2.11/toree-assembly-0.2.0.dev1-incubating-SNAPSHOT.jar] 
Error 1




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to