美文网首页大数据学习之路
idea上开发spark pom文件导入包

idea上开发spark pom文件导入包

作者: 大数据修行 | 来源:发表于2019-05-20 20:25 被阅读0次
    <properties>
        <scala.version>2.11.8</scala.version>
        <spark.version>2.2.0</spark.version>
        <hadoop.version>2.6.0-cdh5.7.0</hadoop.version>
      </properties>
    
     <repositories>
        <repository>
          <id>cloudera</id>
          <name>cloudera</name>
          <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
        </repository>
      </repositories>
    
     <dependencies>
        <dependency>
          <groupId>org.scala-lang</groupId>
          <artifactId>scala-library</artifactId>
          <version>${scala.version}</version>
        </dependency>
        <dependency>
          <groupId>org.apache.spark</groupId>
          <artifactId>spark-core_2.11</artifactId>
          <version>${spark.version}</version>
        </dependency>
        <dependency>
          <groupId> org.apache.hadoop</groupId>
          <artifactId>hadoop-client</artifactId>
          <version>${hadoop.version}</version>
        </dependency>
      </dependencies>

    相关文章

      网友评论

        本文标题:idea上开发spark pom文件导入包

        本文链接:https://www.haomeiwen.com/subject/xymlzqtx.html