Spark编译报错汇总
1.Spark-Parent包test_classpath飘红
1.1问题描述
编译完pom.xml文件变量报红
<spark.test.home>${session.executionRootDirectory}</spark.test.home> <SPARK_DIST_CLASSPATH>${test_classpath}</SPARK_DIST_CLASSPATH>
1.2解决方案
在<spark.test.home>${session.executionRootDirectory}</spark.test.home>上面加入参数即可
<session.executionRootDirectory>executionRootDirectory</session.executionRootDirectory> <test_classpath>test_classpath</test_classpath> 之上添加 <spark.test.home>${session.executionRootDirectory}</spark.test.home>