You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Yebgenya Lazarkhosrouabadi <la...@integration-factory.de> on 2019/07/21 18:52:57 UTC

Unable to build Flink1.10 from source

Hello,

I'm trying to build flink1.10 from source , but it fails with this error;

[ERROR] Failed to execute goal on project flink-mapr-fs: Could not resolve dependencies for project org.apache.flink:flink-mapr-fs:jar:1.10-SNAPSHOT: Failed to collect dependencies at com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Could not transfer artifact com.mapr.hadoop:maprfs:pom:5.2.1-mapr from/to mapr-releases (https://repository.mapr.com/maven/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Can you please help me to solve this problem ?

Regards
Yebgenya Lazar
HINWEIS: Dies ist eine vertrauliche Nachricht und nur f?r den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zug?nglich zu machen. Sollten Sie diese Nachricht irrt?mlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.

Re:AW: Re:Unable to build Flink1.10 from source

Posted by Haibo Sun <su...@163.com>.

Please check whether the following profile section exists in "flink-filesystems/flink-mapr-fs/pom.xml". If not, you should pull the latest code and try to compile it again. If yes, please share the latest error message, it may be different from before.


        <profiles>
                <profile>
                        <id>unsafe-mapr-repo</id>
                        <activation>
                                <property>
                                        <name>unsafe-mapr-repo</name>
                                </property>
                        </activation>
                        <repositories>
                                <!-- MapR -->
                                <repository>
                                        <id>mapr-releases</id>
                                        <url>http://repository.mapr.com/maven/</url>
                                        <snapshots><enabled>false</enabled></snapshots>
                                        <releases><enabled>true</enabled></releases>
                                </repository>
                        </repositories>
                </profile>
        </profiles>


Best,
Haibo

At 2019-07-23 04:54:11, "Yebgenya Lazarkhosrouabadi" <la...@integration-factory.de> wrote:


Hi,

I used the command  mvn clean package -DskipTests -Punsafe-mapr-repo  , but it didn’t work. I get the same error.

 

Regards

Yebgenya Lazar

 

Von: Haibo Sun <su...@163.com>
Gesendet: Montag, 22. Juli 2019 04:40
An: Yebgenya Lazarkhosrouabadi <la...@integration-factory.de>
Cc: user@flink.apache.org
Betreff: Re:Unable to build Flink1.10 from source

 

Hi,  Yebgenya  

 

The reason for this problem can be found in this email (http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/NOTICE-SSL-issue-when-building-flink-mapr-fs-td30757.html). The solution is to add the parameter "-Punsafe-mapr-repo" to the maven command, as given in the e-mail.

 

Best,

Haibo


At 2019-07-22 02:52:57, "Yebgenya Lazarkhosrouabadi" <la...@integration-factory.de> wrote:



Hello,

 

I’m trying to build flink1.10 from source , but it fails with this error;

 

[ERROR] Failed to execute goal on project flink-mapr-fs: Could not resolve dependencies for project org.apache.flink:flink-mapr-fs:jar:1.10-SNAPSHOT: Failed to collect dependencies at com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Could not transfer artifact com.mapr.hadoop:maprfs:pom:5.2.1-mapr from/to mapr-releases (https://repository.mapr.com/maven/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

 

Can you please help me to solve this problem ?

 

Regards

Yebgenya Lazar

HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.

HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.

AW: Re:Unable to build Flink1.10 from source

Posted by Yebgenya Lazarkhosrouabadi <la...@integration-factory.de>.
Hi,
I used the command  mvn clean package -DskipTests -Punsafe-mapr-repo  , but it didn’t work. I get the same error.

Regards
Yebgenya Lazar

Von: Haibo Sun <su...@163.com>
Gesendet: Montag, 22. Juli 2019 04:40
An: Yebgenya Lazarkhosrouabadi <la...@integration-factory.de>
Cc: user@flink.apache.org
Betreff: Re:Unable to build Flink1.10 from source

Hi,  Yebgenya

The reason for this problem can be found in this email (http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/NOTICE-SSL-issue-when-building-flink-mapr-fs-td30757.html). The solution is to add the parameter "-Punsafe-mapr-repo" to the maven command, as given in the e-mail.

Best,
Haibo

At 2019-07-22 02:52:57, "Yebgenya Lazarkhosrouabadi" <la...@integration-factory.de>> wrote:

Hello,

I’m trying to build flink1.10 from source , but it fails with this error;

[ERROR] Failed to execute goal on project flink-mapr-fs: Could not resolve dependencies for project org.apache.flink:flink-mapr-fs:jar:1.10-SNAPSHOT: Failed to collect dependencies at com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Could not transfer artifact com.mapr.hadoop:maprfs:pom:5.2.1-mapr from/to mapr-releases (https://repository.mapr.com/maven/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Can you please help me to solve this problem ?

Regards
Yebgenya Lazar
HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.
HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.

Re:Unable to build Flink1.10 from source

Posted by Haibo Sun <su...@163.com>.
Hi,  Yebgenya  


The reason for this problem can be found in this email (http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/NOTICE-SSL-issue-when-building-flink-mapr-fs-td30757.html). The solution is to add the parameter "-Punsafe-mapr-repo" to the maven command, as given in the e-mail.


Best,
Haibo

At 2019-07-22 02:52:57, "Yebgenya Lazarkhosrouabadi" <la...@integration-factory.de> wrote:


Hello,

 

I’m trying to build flink1.10 from source , but it fails with this error;

 

[ERROR] Failed to execute goal on project flink-mapr-fs: Could not resolve dependencies for project org.apache.flink:flink-mapr-fs:jar:1.10-SNAPSHOT: Failed to collect dependencies at com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Failed to read artifact descriptor for com.mapr.hadoop:maprfs:jar:5.2.1-mapr: Could not transfer artifact com.mapr.hadoop:maprfs:pom:5.2.1-mapr from/to mapr-releases (https://repository.mapr.com/maven/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

 

Can you please help me to solve this problem ?

 

Regards

Yebgenya Lazar

HINWEIS: Dies ist eine vertrauliche Nachricht und nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer.