You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2017/05/29 07:53:04 UTC

[jira] [Commented] (HDFS-11899) ASF License warnings generated intermittently in trunk

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

Yiqun Lin commented on HDFS-11899:
----------------------------------

Use {{GenericTestUtils.getTestDir}} to help create host files in a right path.
Attach the simple patch. Kindly review.

> ASF License warnings generated intermittently in trunk
> ------------------------------------------------------
>
>                 Key: HDFS-11899
>                 URL: https://issues.apache.org/jira/browse/HDFS-11899
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>         Attachments: HDFS-11899.001.patch
>
>
> Recently ASF License warnings generated intermittently in trunk.
> {noformat}
> 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/include-hosts-file
>  !????? /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/exclude-hosts-file
> {noformat}
> The root cause of this is that the include/exclude host file created in a wrong place in test {{TestBalacner}}. It's expected in a right test directory. When some unit tests ran timeout in {{TestBalacner}}, then these host files cannot be cleared and generated ASF License warnings.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org