Uploaded image for project: 'TOREE'
  1. TOREE
  2. TOREE-431

Toree build fails with Spark 2.2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • Build
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              lresende Luciano Resende
              lresende Luciano Resende
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: