You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2012/10/23 09:59:11 UTC

[jira] [Created] (AMBARI-899) Use slf4j-api 1.5.5 rather than 1.6.6

Yusaku Sako created AMBARI-899:
----------------------------------

             Summary: Use slf4j-api 1.5.5 rather than 1.6.6
                 Key: AMBARI-899
                 URL: https://issues.apache.org/jira/browse/AMBARI-899
             Project: Ambari
          Issue Type: Sub-task
    Affects Versions: ambari-666
            Reporter: Yusaku Sako
            Assignee: Yusaku Sako
             Fix For: ambari-666
         Attachments: AMBARI-899.patch

Ambari server fails to start on a CentOS 6.3 machine:

[root@centosvm ambari-server-1.0.3-SNAPSHOT]# java -cp etc/ambari-server/conf/:lib/ambari-server/* org.apache.ambari.server.controller.AmbariServer
SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
SLF4J: Your binding is version 1.5.5 or earlier.
SLF4J: Upgrade your binding to version 1.6.x.
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
       at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
       at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
       at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
       at org.apache.ambari.server.controller.AmbariServer.<clinit>(AmbariServer.java:59)
Could not find the main class: org.apache.ambari.server.controller.AmbariServer.  Program will exit.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AMBARI-899) Use slf4j-api 1.5.5 rather than 1.6.6

Posted by "Yusaku Sako (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMBARI-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako updated AMBARI-899:
-------------------------------

    Attachment: AMBARI-899.patch
    
> Use slf4j-api 1.5.5 rather than 1.6.6
> -------------------------------------
>
>                 Key: AMBARI-899
>                 URL: https://issues.apache.org/jira/browse/AMBARI-899
>             Project: Ambari
>          Issue Type: Sub-task
>    Affects Versions: ambari-666
>            Reporter: Yusaku Sako
>            Assignee: Yusaku Sako
>             Fix For: ambari-666
>
>         Attachments: AMBARI-899.patch
>
>
> Ambari server fails to start on a CentOS 6.3 machine:
> [root@centosvm ambari-server-1.0.3-SNAPSHOT]# java -cp etc/ambari-server/conf/:lib/ambari-server/* org.apache.ambari.server.controller.AmbariServer
> SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
> SLF4J: Your binding is version 1.5.5 or earlier.
> SLF4J: Upgrade your binding to version 1.6.x.
> Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
>        at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
>        at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
>        at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
>        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
>        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
>        at org.apache.ambari.server.controller.AmbariServer.<clinit>(AmbariServer.java:59)
> Could not find the main class: org.apache.ambari.server.controller.AmbariServer.  Program will exit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira