ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devopam Mittra <devo...@gmail.com>
Subject Re: Multiple version of log4j causes oozie failed to start
Date Tue, 09 Dec 2014 03:52:16 GMT
Ideally it should not happen with an Ambari installation but then there is
no fun if everything is ideal :)

Please read through
https://oozie.apache.org/docs/3.2.0-incubating/AG_Install.html to see if
you are overriding the log properties by setting some environment variables
elsewhere but impacting oozie.

regards
Dev


On Tue, Dec 9, 2014 at 9:16 AM, guxiaobo1982 <guxiaobo1982@qq.com> wrote:

> Hi,
>
>
> I installed a single node hadoop environmnt viar ambari 1.6.1, but the
> oozie server is failed to start with the following error:
>
>
>
>    -
>    Oozie Server status
>    CRIT for about a minute
>    CRITICAL: Error accessing Oozie Server status [SLF4J: Class path
>    contains multiple SLF4J bindings.
>    -
>
> It seems because of multiple log4j libraries, so here comes the list, can
> you tell how to get this problem fixed:
>
>
> [root@lix1 oozie-db]# find / -name log4j*jar
>
> /root/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
>
> /root/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
>
>
> /opt/kylin/server/target/kylin-server-0.6.3-SNAPSHOT/WEB-INF/lib/log4j-1.2.17.jar
>
> /opt/apache-tomcat-7.0.57/webapps/kylin/WEB-INF/lib/log4j-1.2.17.jar
>
> /usr/share/java/log4j-1.2.14.jar
>
> /usr/share/java/log4j.jar
>
> /usr/share/java/slf4j/log4j12.jar
>
> /usr/share/java/slf4j/log4j-over-slf4j-1.5.8.jar
>
> /usr/share/java/slf4j/log4j12-1.5.8.jar
>
> /usr/share/java/slf4j/log4j-over-slf4j.jar
>
> /usr/lib/hadoop/client/log4j-1.2.17.jar
>
> /usr/lib/hadoop/client/log4j.jar
>
> /usr/lib/hadoop/lib/log4j-1.2.17.jar
>
> /usr/lib/hadoop-mapreduce/log4j-1.2.17.jar
>
> /usr/lib/hadoop-mapreduce/lib/log4j-1.2.17.jar
>
> /usr/lib/falcon/client/lib/log4j-1.2.15.jar
>
> /usr/lib/storm/lib/log4j-over-slf4j-1.6.6.jar
>
> /usr/lib/oozie/share/lib/pig/log4j-1.2.16.jar
>
> /usr/lib/oozie/share/lib/hive/log4j-1.2.16.jar
>
> /usr/lib/oozie/libserver/log4j-1.2.16.jar
>
> /usr/lib/oozie/libtools/log4j-1.2.16.jar
>
> /usr/lib/oozie/lib/log4j-1.2.16.jar
>
> /usr/lib/hive/lib/log4j-1.2.16.jar
>
> /usr/lib/hadoop-hdfs/lib/log4j-1.2.17.jar
>
> /usr/lib/hadoop-yarn/lib/log4j-1.2.17.jar
>
> /usr/lib/hbase/lib/log4j-1.2.17.jar
>
> /usr/lib/zookeeper/lib/log4j-1.2.15.jar
>
> /home/xiaobogu/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
>
> /home/xiaobogu/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
>
> /var/lib/falcon/webapp/falcon/WEB-INF/lib/log4j-1.2.15.jar
>
> [root@lix1 oozie-db]#
>



-- 
Devopam Mittra
Life and Relations are not binary

Mime
View raw message