incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <matth...@yahoo-inc.com>
Subject Re: Failed to start the controller
Date Fri, 04 Jan 2013 10:37:14 GMT
Hi,

that's a problem with the slf4j implementation: S4 expects logback (the native implementation),
but Hadoop has a dependency to a log4j implementation: slf4j-log4j12, and slf4j-log4j12  has
precedence over logback-classic (the native impl) in your classpath.

Would adding the following line to the dependency exclusions in the (S4 project root's) build.gradle
file work?

exclude group: 'org.slf4j', module:slf4j-log4j12'

 (right after exclude group: 'javax.mail', module: 'mail')


Let us know and we'll add that by default if it works.


Hope this helps,

Matthieu


On Jan 4, 2013, at 09:45 , Frank Zheng wrote:

Hi all,

I deploy and run the twitter example applications with yarn.
But I encountered a problem in both adapter and counters.
Could anyone help?

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/tmp/nm-local-dir/usercache/root/appcache/application_1357280763164_0003/filecache/-7572535878262412959/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/tmp/nm-local-dir/usercache/root/appcache/application_1357280763164_0003/filecache/981337452168435837/logback-classic-0.9.29.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

13/01/04 14:32:52 INFO core.Main: processing inline configuration parameter s4.adapter.output.stream=RawStatus
13/01/04 14:32:52 INFO core.Main: Initializing S4 node with :
- comm module class [org.apache.s4.comm.DefaultCommModule]

- comm configuration file [default.s4.comm.properties from classpath]
- core module class [org.apache.s4.core.DefaultCoreModule]
- core configuration file[default.s4.core.properties from classpath]
- extra modules: [org.apache.s4.deploy.HdfsFetcherModule]

- inline parameters: [s4.adapter.output.stream=RawStatus]
13/01/04 14:32:53 INFO core.Main: Starting S4 node. This node will automatically download
applications published for the cluster it belongs to
13/01/04 14:32:53 INFO zkclient.ZkEventThread: Starting ZkClient event thread.

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.3.1-942149,
built on 05/07/2010 17:14 GMT
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:host.name<http://host.name/>=testing.machine2

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.version=1.7.0_10
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.7.0_10/jre

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.class.path=${CLASSPATH}:./jcommander-1.25.jar:./commons-daemon-1.0.10.jar:./servlet-api-2.5.jar:./commons-io-2.4.jar:./stax-api-1.0.1.jar:./commons-cli-1.2.jar:./jetty-6.1.26.jar:./commons-el-1.0.jar:./s4-core-0.5.0-incubating.jar:./guice-3.0.jar:./gradle-core-1.0.jar:./commons-lang-2.6.jar:./activation-1.1.jar:./snappy-java-1.0.3.2.jar:./hadoop-mapreduce-client-core-2.0.2-alpha.jar:./slf4j-api-1.6.4.jar:./kfs-0.3.jar:./s4-yarn-0.5.0-incubating.jar:./aopalliance-1.0.jar:./commons-logging-1.1.1.jar:./hadoop-yarn-api-2.0.2-alpha.jar:./zookeeper-3.3.1.jar:./gradle-base-services-1.0.jar:./zkclient-0.1.jar:./commons-math-2.1.jar:./jetty-util-6.1.26.jar:./hadoop-annotations-2.0.2-alpha.jar:./hadoop-auth-2.0.2-alpha.jar:./guice-servlet-3.0.jar:./hadoop-yarn-server-common-2.0.2-alpha.jar:./hadoop-yarn-common-2.0.2-alpha.jar:./collections-generic-4.01.jar:./objenesis-1.2.jar:./javax.inject-1.jar:./jline-0.9.94.jar:./logback-core-0.9.29.jar:./gradle-wrapper-1.0.jar:./gradle-tooling-api-1.0.jar:./commons-digester-1.8.jar:./s4-tools-0.5.0-incubating.jar:./commons-collections-3.2.1.jar:./guava-12.0.1.jar:./guice-multibindings-3.0.jar:./kryo-1.04.jar:./paranamer-2.3.jar:./jersey-test-framework-grizzly2-1.8.jar:./junit-3.8.1.jar:./commons-httpclient-3.1.jar:./commons-beanutils-core-1.8.0.jar:./gson-1.6.jar:./jcip-annotations-1.0.jar:./jaxb-api-2.2.2.jar:./jaxb-impl-2.2.3-1.jar:./slf4j-log4j12-1.6.1.jar:./hadoop-common-2.0.2-alpha.jar:./xmlenc-0.52.jar:./hadoop-hdfs-2.0.2-alpha.jar:./jets3t-0.6.1.jar:./avro-1.5.3.jar:./jsch-0.1.42.jar:./hadoop-yarn-client-2.0.2-alpha.jar:./jersey-json-1.8.jar:./netty-3.2.5.Final.jar:./jackson-core-asl-1.8.8.jar:./jsp-api-2.1.jar:./commons-net-3.1.jar:./logback-classic-0.9.29.jar:./commons-configuration-1.6.jar:./reflectasm-1.01.jar:./s4-comm-0.5.0-incubating.jar:./commons-codec-1.4.jar:./s4-base-0.5.0-incubating.jar:./log4j-1.2.17.jar:./jersey-guice-1.8.jar:./protobuf-java-2.4.1.jar:./hadoop-yarn-server-nodemanager-2.0.2-alpha.jar:./jasper-compiler-5.5.23.jar:./jasper-runtime-5.5.23.jar:./asm-3.2.jar:./jackson-xc-1.7.1.jar:./minlog-1.2.jar:./jackson-mapper-asl-1.8.8.jar:./jettison-1.1.jar:./jersey-core-1.8.jar:./hadoop-mapreduce-client-shuffle-2.0.2-alpha.jar:./cglib-2.2.1-v20090111.jar:./jackson-jaxrs-1.7.1.jar:./jersey-server-1.8.jar:./jsr305-1.3.9.jar:./guice-assistedinject-3.0.jar:./commons-beanutils-1.7.0.jar:$HADOOP_CONF_DIR:$HADOOP_COMMON_HOME/share/hadoop/common/*:$HADOOP_COMMON_HOME/share/hadoop/common/lib/*:$HADOOP_HDFS_HOME/share/hadoop/hdfs/*:$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*:$HADOOP_YARN_HOME/share/hadoop/yarn/*:$HADOOP_YARN_HOME/share/hadoop/yarn/lib/*:./jcommander-1.25.jar:./commons-daemon-1.0.10.jar:./servlet-api-2.5.jar:./commons-io-2.4.jar:./stax-api-1.0.1.jar:./commons-cli-1.2.jar:./jetty-6.1.26.jar:./commons-el-1.0.jar:./s4-core-0.5.0-incubating.jar:./guice-3.0.jar:./gradle-core-1.0.jar:./commons-lang-2.6.jar:./activation-1.1.jar:./snappy-java-1.0.3.2.jar:./hadoop-mapreduce-client-core-2.0.2-alpha.jar:./slf4j-api-1.6.4.jar:./kfs-0.3.jar:./s4-yarn-0.5.0-incubating.jar:./aopalliance-1.0.jar:./commons-logging-1.1.1.jar:./hadoop-yarn-api-2.0.2-alpha.jar:./zookeeper-3.3.1.jar:./gradle-base-services-1.0.jar:./zkclient-0.1.jar:./commons-math-2.1.jar:./jetty-util-6.1.26.jar:./hadoop-annotations-2.0.2-alpha.jar:./hadoop-auth-2.0.2-alpha.jar:./guice-servlet-3.0.jar:./hadoop-yarn-server-common-2.0.2-alpha.jar:./hadoop-yarn-common-2.0.2-alpha.jar:./collections-generic-4.01.jar:./objenesis-1.2.jar:./javax.inject-1.jar:./jline-0.9.94.jar:./logback-core-0.9.29.jar:./gradle-wrapper-1.0.jar:./gradle-tooling-api-1.0.jar:./commons-digester-1.8.jar:./s4-tools-0.5.0-incubating.jar:./commons-collections-3.2.1.jar:./guava-12.0.1.jar:./guice-multibindings-3.0.jar:./kryo-1.04.jar:./paranamer-2.3.jar:./jersey-test-framework-grizzly2-1.8.jar:./junit-3.8.1.jar:./commons-httpclient-3.1.jar:./commons-beanutils-core-1.8.0.jar:./gson-1.6.jar:./jcip-annotations-1.0.jar:./jaxb-api-2.2.2.jar:./jaxb-impl-2.2.3-1.jar:./slf4j-log4j12-1.6.1.jar:./hadoop-common-2.0.2-alpha.jar:./xmlenc-0.52.jar:./hadoop-hdfs-2.0.2-alpha.jar:./jets3t-0.6.1.jar:./avro-1.5.3.jar:./jsch-0.1.42.jar:./hadoop-yarn-client-2.0.2-alpha.jar:./jersey-json-1.8.jar:./netty-3.2.5.Final.jar:./jackson-core-asl-1.8.8.jar:./jsp-api-2.1.jar:./commons-net-3.1.jar:./logback-classic-0.9.29.jar:./commons-configuration-1.6.jar:./reflectasm-1.01.jar:./s4-comm-0.5.0-incubating.jar:./commons-codec-1.4.jar:./s4-base-0.5.0-incubating.jar:./log4j-1.2.17.jar:./jersey-guice-1.8.jar:./protobuf-java-2.4.1.jar:./hadoop-yarn-server-nodemanager-2.0.2-alpha.jar:./jasper-compiler-5.5.23.jar:./jasper-runtime-5.5.23.jar:./asm-3.2.jar:./jackson-xc-1.7.1.jar:./minlog-1.2.jar:./jackson-mapper-asl-1.8.8.jar:./jettison-1.1.jar:./jersey-core-1.8.jar:./hadoop-mapreduce-client-shuffle-2.0.2-alpha.jar:./cglib-2.2.1-v20090111.jar:./jackson-jaxrs-1.7.1.jar:./jersey-server-1.8.jar:./jsr305-1.3.9.jar:./guice-assistedinject-3.0.jar:./commons-beanutils-1.7.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/etc/hadoop:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/hadoop-common-2.0.2-alpha-sources.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/hadoop-common-2.0.2-alpha-tests.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/hadoop-common-2.0.2-alpha-test-sources.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/hadoop-common-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jackson-xc-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/slf4j-api-1.6.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/servlet-api-2.5.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/stax-api-1.0.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-cli-1.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jetty-6.1.26.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/netty-3.2.4.Final.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-el-1.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/activation-1.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/snappy-java-1.0.3.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/kfs-0.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-logging-1.1.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-math-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jetty-util-6.1.26.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/hadoop-annotations-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/hadoop-auth-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jline-0.9.94.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-digester-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-collections-3.2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/paranamer-2.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-httpclient-3.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/protobuf-java-2.4.0a.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jackson-jaxrs-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/slf4j-log4j12-1.6.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/xmlenc-0.52.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jets3t-0.6.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/avro-1.5.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jsch-0.1.42.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jersey-json-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jackson-core-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jsp-api-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-net-3.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-configuration-1.6.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-codec-1.4.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/guava-11.0.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/log4j-1.2.17.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jasper-compiler-5.5.23.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-io-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jasper-runtime-5.5.23.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/asm-3.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jackson-mapper-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jettison-1.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jersey-core-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-lang-2.5.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jersey-server-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/jsr305-1.3.9.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/common/lib/zookeeper-3.4.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/hadoop-hdfs-2.0.2-alpha-tests.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/hadoop-hdfs-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/hadoop-hdfs-2.0.2-alpha-sources.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/hadoop-hdfs-2.0.2-alpha-test-sources.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-el-1.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-daemon-1.0.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-logging-1.1.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/protobuf-java-2.4.0a.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jackson-core-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jsp-api-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/guava-11.0.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-io-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jasper-runtime-5.5.23.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/asm-3.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jackson-mapper-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jersey-core-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/commons-lang-2.5.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jersey-server-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/hdfs/lib/jsr305-1.3.9.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-api-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-common-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-common-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-site-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-tests-2.0.2-alpha-tests.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-client-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/hadoop-yarn-server-tests-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/netty-3.2.4.Final.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/guice-3.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/snappy-java-1.0.3.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/aopalliance-1.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/hadoop-annotations-2.0.2-alpha.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/javax.inject-1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/paranamer-2.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/protobuf-java-2.4.0a.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/avro-1.5.3.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/jackson-core-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/junit-4.8.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/log4j-1.2.17.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/jersey-guice-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/commons-io-2.1.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/asm-3.2.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/jackson-mapper-asl-1.8.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/jersey-core-1.8.jar:/root/huawei-stream/hadoop-2.0.2-alpha/share/hadoop/yarn/lib/jersey-server-1.8.jar

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:java.compiler=
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:os.name<http://os.name/>=Linux
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:os.version=2.6.32-220.el6.x86_64
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:user.name<http://user.name/>=root
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:user.home=/root

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Client environment:user.dir=/tmp/nm-local-dir/usercache/root/appcache/application_1357280763164_0003/container_1357280763164_0003_01_000002
13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181
sessionTimeout=10000 watcher=org.I0Itec.zkclient.ZkClient@560e018a

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>
13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
initiating session

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
sessionid = 0x13c043e0468001c, negotiated timeout = 10000
13/01/04 14:32:53 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181
sessionTimeout=10000 watcher=org.I0Itec.zkclient.ZkClient@536b4ad8
13/01/04 14:32:53 INFO zkclient.ZkEventThread: Starting ZkClient event thread.

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>
13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
initiating session

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
sessionid = 0x13c043e0468001d, negotiated timeout = 10000
13/01/04 14:32:53 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)

13/01/04 14:32:53 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181
sessionTimeout=10000 watcher=org.apache.s4.comm.topology.ZkClient@672e3194
13/01/04 14:32:53 INFO zkclient.ZkEventThread: Starting ZkClient event thread.

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>
13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
initiating session

13/01/04 14:32:53 INFO zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181<http://127.0.0.1:2181/>,
sessionid = 0x13c043e0468001e, negotiated timeout = 10000
13/01/04 14:32:53 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected)

13/01/04 14:32:53 INFO topology.AssignmentFromZK: New session:88950757048975390; state is
: SyncConnected
13/01/04 14:32:53 INFO topology.AssignmentFromZK: Successfully acquired task:Task-0 by testing.machine2
13/01/04 14:32:53 ERROR core.Main: Failed to start the controller.

java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerAdapter cannot be cast to ch.qos.logback.classic.Logger
        at org.apache.s4.core.Server.start(Server.java:82)

        at org.apache.s4.core.Main.startNode(Main.java:159)
        at org.apache.s4.core.Main.main(Main.java:76)




Thanks!

Yu




Mime
View raw message