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

make-distribution.sh failure with --r and -Phadoop-provided

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.3.2, 2.4.0
    • None
    • Build
    • None

    Description

      It is not possible to build a distribution that doesn't contain hadoop dependencies but include SparkR. This is because R/check_cran.sh builds R document which depends on hadoop dependencies in assembly/target/scala-xxx/jars folder.

      To reproduce:

      MAVEN_BUILD_OPTS="-Dmaven.javadoc.skip=true -Pyarn -Phadoop-2.7 -Phive -Psparkr -Phadoop-provided"

      ./dev/make-distribution.sh --tgz --r $MAVEN_BUILD_OPTS

       

      Error:

      • creating vignettes ... ERROR
        ...
        Error: A JNI error has occurred, please check your installation and try again
        Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/Logger

      Attachments

        1. SPARK-25999.patch
          5 kB
          shanyu zhao

        Activity

          People

            Unassigned Unassigned
            shanyu shanyu zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: