[
https://issues.apache.org/jira/browse/HADOOP-15853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650916#comment-16650916
]
Hudson commented on HADOOP-15853:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15221 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15221/])
HADOOP-15853. TestConfigurationDeprecation leaves behind a temp file, (rkanter:
rev 7fe1a40a6ba692ce5907b96db3a7cb3639c091bd)
* (edit)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationDeprecation.java
> TestConfigurationDeprecation leaves behind a temp file, resulting in a
> license issue
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-15853
> URL: https://issues.apache.org/jira/browse/HADOOP-15853
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.3.0
> Reporter: Robert Kanter
> Assignee: Ayush Saxena
> Priority: Major
> Labels: newbie
> Fix For: 3.3.0
>
> Attachments: HADOOP-15853-01.patch
>
>
> HADOOP-15708 made some changes to {{TestConfigurationDeprecation}}. One of
> them was adding
> {code:java}
> final static String CONFIG4 = new File("./test-config4" +
> "-TestConfigurationDeprecation.xml").getAbsolutePath();
> {code}
> which we never clean up in the {{tearDown}} method:
> {code:java}
> @After
> public void tearDown() throws Exception {
> new File(CONFIG).delete();
> new File(CONFIG2).delete();
> new File(CONFIG3).delete();
> }
> {code}
> This results in that file being left behind, and causing a license warning in
> test runs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]