Hi minglei,

Flink-mapr-fs requires a separate repository configuration:

<repositories>
   <repository>
      <id>mapr-releases</id>
      <url>http://repository.mapr.com/maven/</url>
      <snapshots><enabled>false</enabled></snapshots>
      <releases><enabled>true</enabled></releases>
   </repository>
</repositories>


You need to confirm if you can access it normally. As far as I know, some
companies' own maven private services do not allow access to third-party
warehouses.
If you confirm that you have access, then you can delete the relevant
dependencies and have it re-download.

Thanks, vino.

zhangmingleihe <[email protected]> 于2018年8月31日周五 上午10:23写道:

> Hi,
>
> When I build flink with the newest code, I found the below error. Never
> met this error before. Why ? Since I can not download the
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:48 min
> [INFO] Finished at: 2018-08-31T10:15:24+08:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project flink-mapr-fs: Compilation failure:
> Compilation failure:
> [ERROR]
> /Users/zhangminglei/project/flink/flink-filesystems/flink-mapr-fs/src/main/java/org/apache/flink/runtime/fs/maprfs/MapRFileSystem.java:[70,44]
> package org.apache.hadoop.fs does not esixt.
> [ERROR]
> /Users/zhangminglei/project/flink/flink-filesystems/flink-mapr-fs/src/main/java/org/apache/flink/runtime/fs/maprfs/MapRFileSystem.java:[73,45]
> symbol not found
> [ERROR]   符号:   类 Configuration
> [ERROR]   位置: 程序包 org.apache.hadoop.conf
> [ERROR]
> /Users/zhangminglei/project/flink/flink-filesystems/flink-mapr-fs/src/main/java/org/apache/flink/runtime/fs/maprfs/MapRFileSystem.java:[73,93]
> 找不到符号
> [ERROR]   符号:   类 Configuration
> [ERROR]   位置: 程序包 org.apache.hadoop.conf
> [ERROR] -> [Help 1]
> [ERROR]
>
> Cheers
> Minglei
>

Reply via email to