Intellij编译Spark on Yarn源码注意事项

默认是1.0.4,需设置指定Hadoop版本:

在${SPARK_HOME}/pom.xml中的yarn改为


      yarn
      
        2
        2.2.0
        2.2.0
        2.5.0
      
      
        yarn
      
    

导入时候选yarn

你可能感兴趣的:(Intellij编译Spark on Yarn源码注意事项)