[
https://issues.apache.org/jira/browse/FLINK-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496293#comment-16496293
]
Chesnay Schepler commented on FLINK-9454:
-----------------------------------------
I regularly encounter a rat failure on Windows when other devs add new binary
files without excluding them from the RAT plugin.
The plugin detects binary files using heuristics, and the effectiveness differs
on the OS.
> Build instructions for MapR do not work
> ---------------------------------------
>
> Key: FLINK-9454
> URL: https://issues.apache.org/jira/browse/FLINK-9454
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.5.0, 1.4.1
> Environment: {{$ java -version}}
> {{java version }}{{"1.8.0_172"}}
> {{Java(TM) SE Runtime Environment (build 1.8.0_172-b11)}}
> {{Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)}}
>
> {{$ mvn -version}}
> {{Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;
> 2018-02-24T20:49:05+01:00)}}
> {{Java version: 1.8.0_172, vendor: Oracle Corporation}}
> {{Default locale: en_US, platform encoding: ISO-8859-1}}
> {{OS name: }}{{"linux"}}{{, version: }}{{"3.10.0-327.36.3.el7.x86_64"}}{{,
> arch: }}{{"amd64"}}{{, family: }}{{"unix"}}
> Reporter: Andrei Shumanski
> Priority: Minor
>
> Build instruction provided on the
> [page|https://ci.apache.org/projects/flink/flink-docs-release-1.5/ops/deployment/mapr_setup.html]
> does not work for MapR 6.
> When executing:
> mvn clean install -DskipTests -Pvendor-repos,mapr
> -Dhadoop.version=2.7.0-mapr-1710 -Dzookeeper.version=3.4.5-mapr-1710
>
> The result is:
> [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
> (default) on project flink-parent: Too many files with unapproved license: 7
> See RAT report in: ...
>
> I fixed the problem by adding "-Drat.skip=true" but there might be a better
> fix.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)