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 "Konstantin Shvachko (Created) (JIRA)" <ji...@apache.org> on 2011/09/29 08:18:45 UTC
[jira] [Created] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Remove dependency on different version of slf4j in avro
-------------------------------------------------------
Key: HADOOP-7697
URL: https://issues.apache.org/jira/browse/HADOOP-7697
Project: Hadoop Common
Issue Type: Bug
Components: build
Affects Versions: 0.22.0
Reporter: Konstantin Shvachko
Assignee: Konstantin Shvachko
Fix For: 0.22.0
Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Steve Loughran (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117202#comment-13117202 ]
Steve Loughran commented on HADOOP-7697:
----------------------------------------
If HADOOP-6807 was implemented, there'd be no nothing in Hadoop-common that uses SLF4J directly other than Avro
Incidentally, why does Avro use SLF4J and not commons-logging? It's inconvenient when libraries tell you what logging framework to use, which is why commons-logging is so useful -it has more back ends than anything else.
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch, ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Konstantin Shvachko (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko resolved HADOOP-7697.
-----------------------------------------
Resolution: Fixed
I committed this to 0.22 branch.
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch, ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Konstantin Shvachko (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117031#comment-13117031 ]
Konstantin Shvachko commented on HADOOP-7697:
---------------------------------------------
The error message looks like this:
SLF4J: The requested version 1.5.11 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
It's all over the logs.
Need to adjust dependencies for ivy.
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117058#comment-13117058 ]
Hudson commented on HADOOP-7697:
--------------------------------
Integrated in Hadoop-Common-22-branch #88 (See [https://builds.apache.org/job/Hadoop-Common-22-branch/88/])
HADOOP-7697. Remove ivy dependency on different version of slf4j in avro. Contributed by Konstantin Shvachko.
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177177
Files :
* /hadoop/common/branches/branch-0.22/common/CHANGES.txt
* /hadoop/common/branches/branch-0.22/common/ivy.xml
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117174#comment-13117174 ]
Hudson commented on HADOOP-7697:
--------------------------------
Integrated in Hadoop-Common-22-branch #90 (See [https://builds.apache.org/job/Hadoop-Common-22-branch/90/])
HADOOP-7697. Add ignore slf4j in hadoop-common templates.
shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1177231
Files :
* /hadoop/common/branches/branch-0.22/common/ivy/hadoop-common-instrumented-template.xml
* /hadoop/common/branches/branch-0.22/common/ivy/hadoop-common-template.xml
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Konstantin Shvachko (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-7697:
----------------------------------------
Attachment: ivyXml-common.patch
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Doug Cutting (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117486#comment-13117486 ]
Doug Cutting commented on HADOOP-7697:
--------------------------------------
SLF4J is a successor to commons logging. It does not bind you to a particular logging framework but is a meta logger like commons logging. It fixes some serious problems in the architecture of Commons logging. If you just add the slf4j-log4j.jar to your classpath then slf4j uses Log4j compatibly with everything else in Hadoop without any extra configuration.
http://articles.qos.ch/thinkAgain.html
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch, ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Konstantin Shvachko (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117051#comment-13117051 ]
Konstantin Shvachko commented on HADOOP-7697:
---------------------------------------------
Ran test. This fixes problem for common.
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7697) Remove dependency on different
version of slf4j in avro
Posted by "Konstantin Shvachko (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Shvachko updated HADOOP-7697:
----------------------------------------
Attachment: ivyXml-common.patch
Also needs to be excluded from hadoop-common templates.
> Remove dependency on different version of slf4j in avro
> -------------------------------------------------------
>
> Key: HADOOP-7697
> URL: https://issues.apache.org/jira/browse/HADOOP-7697
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.22.0
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.22.0
>
> Attachments: ivyXml-common.patch, ivyXml-common.patch
>
>
> Avro upgrade led to a mixture of slf4j versions. Hadoop uses slf4j 1.5.11, and avro brings in 1.6.1
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira