[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to