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

Reply via email to