You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2017/06/19 09:57:01 UTC

[jira] [Updated] (HADOOP-14542) Add IOUtils.cleanup or something that accepts slf4j logger API

     [ https://issues.apache.org/jira/browse/HADOOP-14542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira Ajisaka updated HADOOP-14542:
-----------------------------------
    Description: 
Split from HADOOP-14539.
Now IOUtils.cleanup only accepts commons-logging logger API. Now we are migrating the APIs to slf4j, slf4j logger API should be accepted as well. Adding {{IOUtils.cleanup(Logger, Closeable...)}} causes {{IOUtils.cleanup(null, Closeable...)}} to fail (incompatible change), so it's better to change the method name to avoid the conflict.

  was:
Split from HADOOP-14539.
Now IOUtils.cleanup only accepts commons-logging logger API. Now we are migrating the APIs to slf4j, slf4j logger API should be accepted as well. Adding {{IOUtils.cleanup(Logger, Closeable...)}} causes {{IOUtils.cleanup(null, Closeable)}} to fail (incompatible change), so it's better to change the method name to avoid the conflict.


> Add IOUtils.cleanup or something that accepts slf4j logger API
> --------------------------------------------------------------
>
>                 Key: HADOOP-14542
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14542
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Akira Ajisaka
>
> Split from HADOOP-14539.
> Now IOUtils.cleanup only accepts commons-logging logger API. Now we are migrating the APIs to slf4j, slf4j logger API should be accepted as well. Adding {{IOUtils.cleanup(Logger, Closeable...)}} causes {{IOUtils.cleanup(null, Closeable...)}} to fail (incompatible change), so it's better to change the method name to avoid the conflict.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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