You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/01/22 08:30:00 UTC

[jira] [Commented] (FLINK-25758) GCS Filesystem implementation fails on Java 11 tests due to licensing issues

    [ https://issues.apache.org/jira/browse/FLINK-25758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480374#comment-17480374 ] 

Martijn Visser commented on FLINK-25758:
----------------------------------------

[~galenwarren] Can you have a look at this? The GCS filesystem implementation fails on the Java 11 CI tests (these don't run during the Github PR, but in our daily cron jobs) due to licensing issues. 

You can build it locally for Java 11 by running {{-Djdk11 -Pjava11-target}} as Maven parameters (next to having Java 11 as JDK active of course)

> GCS Filesystem implementation fails on Java 11 tests due to licensing issues
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-25758
>                 URL: https://issues.apache.org/jira/browse/FLINK-25758
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem
>    Affects Versions: 1.15.0
>            Reporter: Martijn Visser
>            Assignee: Galen Warren
>            Priority: Blocker
>
> {code}
> 00:33:45,410 DEBUG org.apache.flink.tools.ci.licensecheck.NoticeFileChecker     [] - Dependency io.netty:netty-common:4.1.51.Final is mentioned in NOTICE file /__w/2/s/flink-python/src/main/resources/META-INF/NOTICE, but was not mentioned by the build output as a bundled dependency
> 00:33:45,411 ERROR org.apache.flink.tools.ci.licensecheck.NoticeFileChecker     [] - Could not find dependency javax.annotation:javax.annotation-api:1.3.2 in NOTICE file /__w/2/s/flink-filesystems/flink-gs-fs-hadoop/src/main/resources/META-INF/NOTICE
> 00:33:45,536 INFO  org.apache.flink.tools.ci.licensecheck.JarFileChecker        [] - Checking directory /tmp/flink-validation-deployment with a total of 197 jar files.
> 00:34:18,554 ERROR org.apache.flink.tools.ci.licensecheck.JarFileChecker        [] - File '/javax/annotation/security/package.html' in jar '/tmp/flink-validation-deployment/org/apache/flink/flink-gs-fs-hadoop/1.15-SNAPSHOT/flink-gs-fs-hadoop-1.15-20220122.001944-1.jar' contains match with forbidden regex 'gnu ?\R?[\s/#]*general ?\R?[\s/#]*public ?\R?[\s/#]*license'.
> 00:34:18,555 ERROR org.apache.flink.tools.ci.licensecheck.JarFileChecker        [] - File '/javax/annotation/package.html' in jar '/tmp/flink-validation-deployment/org/apache/flink/flink-gs-fs-hadoop/1.15-SNAPSHOT/flink-gs-fs-hadoop-1.15-20220122.001944-1.jar' contains match with forbidden regex 'gnu ?\R?[\s/#]*general ?\R?[\s/#]*public ?\R?[\s/#]*license'.
> 00:35:46,612 WARN  org.apache.flink.tools.ci.licensecheck.LicenseChecker        [] - Found a total of 3 severe license issues
> {code}
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=29932&view=logs&j=946871de-358d-5815-3994-8175615bc253&t=e0240c62-4570-5d1c-51af-dd63d2093da1



--
This message was sent by Atlassian Jira
(v8.20.1#820001)