赞
踩
记录一次flink从源码编译到将编译后的源码部署到Linux环境中的过程,以及爬过的坑
环境准备:
java-version:1.8
maven-version:3.3.9
git
源码下载方式:
git clone https://github.com/apache/flink.git
mvn clean install -DskipTests -Dfast
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]
解决方法:下载maprfs-5.2.1-mapr.jar,并mvn install到自己的仓库中
mvn install:install-file -DgroupId=co
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。