[
https://issues.apache.org/jira/browse/HDFS-9856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166509#comment-15166509
]
Chris Nauroth commented on HDFS-9856:
-------------------------------------
Hi [~arpitagarwal]. It's possible to configure exceptions to the license check
in the apache-rat-plugin. Here is an excerpt from
hadoop-hdfs-project/hadoop-hdfs/pom.xml:
{code}
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>CHANGES.txt</exclude>
<exclude>CHANGES.HDFS-1623.txt</exclude>
<exclude>CHANGES.HDFS-347.txt</exclude>
<exclude>.gitattributes</exclude>
<exclude>.idea/**</exclude>
<exclude>src/main/conf/*</exclude>
...
{code}
> Suppress Jenkins warning for sample JSON file
> ---------------------------------------------
>
> Key: HDFS-9856
> URL: https://issues.apache.org/jira/browse/HDFS-9856
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Affects Versions: HDFS-1312
> Reporter: Arpit Agarwal
>
> Jenkins runs generate a warning for the sample JSON plan as follows:
> {code}
> Lines that start with ????? in the ASF License report indicate files that do
> not have an Apache license header:
> !?????
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/diskBalancer/data-cluster-3node-3disk.json
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)