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 |
Hi minglei, Flink-mapr-fs requires a separate repository configuration: <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 <[hidden email]> 于2018年8月31日周五 上午10:23写道: Hi, |
Hi, Vino.
Thanks. I can access the repo. I tried the method what you said. But I still can not pass it.
|
Hi minglei, It’s strange, if the latest PR of the Flink repository can pass the test, it should be able to show that Flink's current source code should be no problem. Then as a comparison, you can check out the source code of flink 1.6.0 tag to see if it can be compiled. Thanks, vino. zhangmingleihe <[hidden email]> 于2018年8月31日周五 上午11:33写道:
|
Hi, Vino.
I tried the 1.6.0 tag source code, it can not be compiled then.
|
Hi minglei, This is really a sad news, then I suggest you can temporarily remove this module from your local, if you are sure to use it, I rarely use it anyway. But I believe that the source code should not have compilation problems. Thanks, vino. zhangmingleihe <[hidden email]> 于2018年8月31日周五 下午1:54写道:
|
Hi minglei, Maybe you could try to remove your local maven repo and settings.xml, which usually located on ~/.m2/repository and ~/.me/settings.xml by default. You could do this by mv ~/.m2 ~/m2_backup And then try to rebuild the project by: mvn clean install -Dmaven.test.skip=true Zhengwen On Fri, Aug 31, 2018 at 2:09 PM vino yang <[hidden email]> wrote:
_________________________________________
Zhu Zhengwen State Key Laboratory For Novel Software Technology Dept. of Computer Sci. & Tech., Nanjing University 9, Hankou Road, Nanjing, China. |
Free forum by Nabble | Edit this page |