You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/07 10:19:00 UTC
[jira] [Commented] (PIO-100) Remove SLF4J warning messages on pio
command
[ https://issues.apache.org/jira/browse/PIO-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077916#comment-16077916 ]
ASF GitHub Bot commented on PIO-100:
------------------------------------
GitHub user marevol opened a pull request:
https://github.com/apache/incubator-predictionio/pull/404
[PIO-100] Remove SLF4J warning message on pio command
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marevol/incubator-predictionio remove_slf4j_log4j12
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-predictionio/pull/404.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #404
----
commit df1b4c81146dcf5d8241c50b3913d05a3ddbccd8
Author: Shinsuke Sugaya <sh...@apache.org>
Date: 2017-07-07T09:07:54Z
remove slf4j-log4j12 from pio-data-hdfs
----
> Remove SLF4J warning messages on pio command
> ---------------------------------------------
>
> Key: PIO-100
> URL: https://issues.apache.org/jira/browse/PIO-100
> Project: PredictionIO
> Issue Type: Improvement
> Reporter: Shinsuke Sugaya
> Assignee: Shinsuke Sugaya
> Priority: Minor
>
> pio command prints SLF4J warning as below:
> {code}
> $ /usr/share/predictionio/bin/pio status
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/usr/share/predictionio/lib/spark/pio-data-hdfs-assembly-0.11.1-v1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/usr/share/predictionio/lib/pio-assembly-0.11.1-v1-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> ...
> {code}
> The cause is that pio-data-hdfs contains slf4j-log4j12 jar file.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)