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/22 08:43:00 UTC

[jira] [Updated] (HADOOP-14542) Add IOUtils.cleanupWithLogger 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:
-----------------------------------
    Hadoop Flags: Reviewed
         Summary: Add IOUtils.cleanupWithLogger that accepts slf4j logger API  (was: Add IOUtils.cleanup or something that accepts slf4j logger API)

> Add IOUtils.cleanupWithLogger 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
>            Assignee: Chen Liang
>         Attachments: HADOOP-14542.001.patch, HADOOP-14542.002.patch, HADOOP-14542.003.patch
>
>
> 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