当前位置:   article > 正文

Flink 学习(二):源码编译_linux程序包org.apache.hadoop.fs不存在

linux程序包org.apache.hadoop.fs不存在
记录一次flink从源码编译到将编译后的源码部署到Linux环境中的过程,以及爬过的坑
环境准备:
java-version:1.8
maven-version:3.3.9
git
  • 1
  • 2
  • 3
  • 4
  • 5

一、下载源码

源码下载方式:

git clone https://github.com/apache/flink.git
  • 1

二、编译源码

mvn clean install -DskipTests -Dfast 
  • 1

三、编译错误

1.缺少maprfs-5.2.1-mapr.jar包

[ERROR] Failed to execute goal on project flink-mapr-fs: Could not resolve dependencies for project com.alibaba.blink:flink-mapr-fs:jar:1.5.1: Failure to find com.mapr.hadoop:maprfs:jar:5.2.1-mapr in http://maven.aliyun.com/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus-aliyun has elapsed or updates are forced -> [Help 1]
  • 1

解决方法:下载maprfs-5.2.1-mapr.jar,并mvn install到自己的仓库中

mvn install:install-file -DgroupId=co
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/519478
    推荐阅读
    相关标签
      

    闽ICP备14008679号