You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lichuanliang (Jira)" <ji...@apache.org> on 2021/02/20 07:11:00 UTC

[jira] [Created] (SPARK-34480) Module launcher build failed with profile hadoop-3.2 activated

Lichuanliang created SPARK-34480:
------------------------------------

             Summary: Module launcher build failed with profile hadoop-3.2 activated
                 Key: SPARK-34480
                 URL: https://issues.apache.org/jira/browse/SPARK-34480
             Project: Spark
          Issue Type: Bug
          Components: Spark Submit
    Affects Versions: 3.0.1
            Reporter: Lichuanliang


Build spark 3.0.1 with profile hadoop-3.2 activated
{code:java}
build/mvn -pl :spark-launcher_2.12 package -DskipTests -Phadoop-3.2 -Phive -Phive-thriftserver -Pkubernetes
{code}
When building the spark-launcher module it complains that lacking the common-lang dependency:


{code:java}
[INFO] --- scala-maven-plugin:4.3.0:compile (scala-compile-first) @ spark-launcher_2.12 ---
[INFO] Using incremental compilation using Mixed compile order
[INFO] Compiler bridge file: /Users/lichuanliang/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.12-1.3.1-bin_2.12.10__52.0-1.3.1_20191012T045515.jar
[INFO] Compiling 20 Java sources to /Users/lichuanliang/IdeaProjects/qtt-spark-3.0/launcher/target/scala-2.12/classes ...
[ERROR] [Error] /Users/lichuanliang/IdeaProjects/qtt-spark-3.0/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java:20: package org.apache.commons.lang does not exist
[ERROR] [Error] /Users/lichuanliang/IdeaProjects/qtt-spark-3.0/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java:226: cannot find symbol
  symbol:   variable StringUtils
  location: class org.apache.spark.launcher.SparkSubmitCommandBuilder
[ERROR] [Error] /Users/lichuanliang/IdeaProjects/qtt-spark-3.0/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java:227: cannot find symbol
  symbol:   variable StringUtils
  location: class org.apache.spark.launcher.SparkSubmitCommandBuilder
[ERROR] [Error] /Users/lichuanliang/IdeaProjects/qtt-spark-3.0/launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java:232: cannot find symbol
  symbol:   variable StringUtils
  location: class org.apache.spark.launcher.SparkSubmitCommandBuilder
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org