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>

 

 

 

 

 

 

 

 

 

 

 

 

 



 

posted @ 2022-01-15 20:06  江东邮差  阅读(407)  评论(0编辑  收藏  举报