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


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

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

<profile>
      <id>yarn</id>
      <properties>
        <hadoop.major.version>2</hadoop.major.version>
        <hadoop.version>2.2.0</hadoop.version>
        <yarn.version>2.2.0</yarn.version>
        <protobuf.version>2.5.0</protobuf.version>
      </properties>
      <modules>
        <module>yarn</module>
      </modules>
    </profile>

导入时候选yarn


IntelliJ IDEA 自动编译功可以不可以使用,On 'update' action:选项里面没有update classes and resources这项

在tomcat设置中Deployment要使用exploded模式的war包。只有exploded模式下才会有update classes and resources这项
 


相关内容

    暂无相关文章