Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5011

Zeppellin unable to build with Scala-2.11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • build
    • None
    • Java installed is: AdoptOpenJDK 1.8.0_265

      Scala installed is: 2.11.8 (EDIT now at 2.12.10)

      sbt installed is: 1.3.13

      Spark installed is: 3.0.0

      $JAVA_HOME, $SCALA_HOME, $SPARK_HOME are all set.

    Description

      Trying to build Zeppelin 0.9.0-SNAPSHOT from source.

      I am building via this:

      mvn clean package -DskipTests -Pspark-3.0 -Pscala-2.11
      

      Get following Build Error:

      [ERROR] Failed to execute goal on project spark-interpreter: Could not resolve dependencies for project org.apache.zeppelin:spark-interpreter:jar:0.9.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.spark:spark-repl_2.11:jar:3.0.0, org.apache.spark:spark-core_2.11:jar:3.0.0, org.apache.spark:spark-hive_2.11:jar:3.0.0: Failure to find org.apache.spark:spark-repl_2.11:jar:3.0.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
      

       

      EDIT:
      I moved Scala to 2.12.10

      and run

      mvn clean package -DskipTests -Pspark-3.0
      

       

      The error is still the same, And the part I don't understand is,

       

      The following artifacts could not be resolved: org.apache.spark:spark-repl_2.11:jar:3.0.0, org.apache.spark:spark-core_2.11:jar:3.0.0, org.apache.spark:spark-hive_2.11:jar:3.0.0
      

      Where as they are pretty much visible to me via a web browser.

      https://repo.maven.apache.org/maven2/org/apache/spark/spark-repl_2.12/3.0.0/

      https://repo.maven.apache.org/maven2/org/apache/spark/spark-core_2.12/3.0.0/

      https://repo.maven.apache.org/maven2/org/apache/spark/spark-hive_2.12/3.0.0/

      I can understand the below ERROR

      Failed to execute goal on project spark-interpreter: Could not resolve dependencies for project org.apache.zeppelin:spark-interpreter:jar:0.9.0-SNAPSHOT
      

      because https://repo.maven.apache.org/maven2/org/apache/zeppelin/spark-interpreter/ does not anything regarding 0.9.0-SNAPSHOT, instead it has 0.9.0-preview1/ and  0.9.0-preview2/

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            V4G4X Varun Gawande
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: