Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30029

Build fails at Spark Core with -Phadoop-3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.0
    • None
    • Build
    • None
    • Build with OpenJDK-11, Scala 2.12., and Maven 3.6.2.

      Using Debian 10 with Kernel 4.16.0-6-amd64

      Running on a VirtualBox hosted on a MacBook Pro.

    Description

      When building from source using the following:

      ./build/mvn -DskipTests -Phadoop-3.2 clean package
      

      Spark Core stage fails with the following errors:

      [INFO] --- scala-maven-plugin:4.3.0:testCompile (scala-test-compile-first) @ spark-core_2.12 ---
      [INFO] Using incremental compilation using Mixed compile order
      [INFO] Compiler bridge file: /home/vagrant/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.12-1.3.1-bin_2.12.10__55.0-1.3.1_20191012T045515.jar
      [INFO] Compiling 272 Scala sources and 27 Java sources to /home/vagrant/spark/core/target/scala-2.12/test-classes ...
      [ERROR] [Error] /home/vagrant/spark/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala:23: object lang is not a member of package org.apache.commons
      [ERROR] [Error] /home/vagrant/spark/core/src/test/scala/org/apache/spark/util/PropertiesCloneBenchmark.scala:49: not found: value SerializationUtils
      [ERROR] two errors found

      Strangely, resuming the failed build with does result in Spark Core stage successfully completing:

      ./build/mvn -DskipTests -Phadoop-3.2 clean package -rf :spark-core_2.12
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dcolkitt Douglas Colkitt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: