You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by vino yang <ya...@gmail.com> on 2018/08/31 03:08:36 UTC

Re: Failed to build the newest flink

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 <18...@163.com> 于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
>

Re: Failed to build the newest flink

Posted by ZhengWen ZHU <ah...@gmail.com>.
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 <ya...@gmail.com> wrote:

> 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 <18...@163.com> 于2018年8月31日周五 下午1:54写道:
>
>> Hi, Vino.
>>
>> I tried the 1.6.0 tag source code, it can not be compiled then.
>>
>> 在 2018年8月31日,上午11:47,vino yang <ya...@gmail.com> 写道:
>>
>> 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 <18...@163.com> 于2018年8月31日周五 上午11:33写道:
>>
>>> Hi, Vino.
>>>
>>> Thanks. I can access the repo. I tried the method what you said. But I
>>> still can not pass it.
>>>
>>> 在 2018年8月31日,上午11:08,vino yang <ya...@gmail.com> 写道:
>>>
>>> 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 <18...@163.com> 于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
>>>>
>>>
>>>
>>

-- 




*_________________________________________Zhu ZhengwenState Key Laboratory
For Novel Software TechnologyDept. of Computer Sci. & Tech., Nanjing
University*
*9, Hankou Road, Nanjing, China.*

Re: Failed to build the newest flink

Posted by vino yang <ya...@gmail.com>.
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 <18...@163.com> 于2018年8月31日周五 下午1:54写道:

> Hi, Vino.
>
> I tried the 1.6.0 tag source code, it can not be compiled then.
>
> 在 2018年8月31日,上午11:47,vino yang <ya...@gmail.com> 写道:
>
> 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 <18...@163.com> 于2018年8月31日周五 上午11:33写道:
>
>> Hi, Vino.
>>
>> Thanks. I can access the repo. I tried the method what you said. But I
>> still can not pass it.
>>
>> 在 2018年8月31日,上午11:08,vino yang <ya...@gmail.com> 写道:
>>
>> 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 <18...@163.com> 于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
>>>
>>
>>
>

Re: Failed to build the newest flink

Posted by zhangmingleihe <18...@163.com>.
Hi, Vino.

I tried the 1.6.0 tag source code, it can not be compiled then.

> 在 2018年8月31日,上午11:47,vino yang <ya...@gmail.com> 写道:
> 
> 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 <18717838093@163.com <ma...@163.com>> 于2018年8月31日周五 上午11:33写道:
> Hi, Vino.
> 
> Thanks. I can access the repo. I tried the method what you said. But I still can not pass it.
> 
>> 在 2018年8月31日,上午11:08,vino yang <yanghua1127@gmail.com <ma...@gmail.com>> 写道:
>> 
>> Hi minglei,
>> 
>> Flink-mapr-fs requires a separate repository configuration:
>> 
>> <repositories>
>>    <repository>
>>       <id>mapr-releases</id>
>>       <url>http://repository.mapr.com/maven/ <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 <18717838093@163.com <ma...@163.com>> 于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
> 


Re: Failed to build the newest flink

Posted by vino yang <ya...@gmail.com>.
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 <18...@163.com> 于2018年8月31日周五 上午11:33写道:

> Hi, Vino.
>
> Thanks. I can access the repo. I tried the method what you said. But I
> still can not pass it.
>
> 在 2018年8月31日,上午11:08,vino yang <ya...@gmail.com> 写道:
>
> 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 <18...@163.com> 于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
>>
>
>

Re: Failed to build the newest flink

Posted by zhangmingleihe <18...@163.com>.
Hi, Vino.

Thanks. I can access the repo. I tried the method what you said. But I still can not pass it.

> 在 2018年8月31日,上午11:08,vino yang <ya...@gmail.com> 写道:
> 
> Hi minglei,
> 
> Flink-mapr-fs requires a separate repository configuration:
> 
> <repositories>
>    <repository>
>       <id>mapr-releases</id>
>       <url>http://repository.mapr.com/maven/ <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 <18717838093@163.com <ma...@163.com>> 于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