SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/storm-yarn/lib/storm-0.9.0-wip21/lib/logback-classic-1.0.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
13/10/17 17:09:16 INFO service.AbstractService: Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited.
13/10/17 17:09:17 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
13/10/17 17:09:17 INFO service.AbstractService: Service:org.apache.hadoop.yarn.client.YarnClientImpl is started.
13/10/17 17:09:17 INFO yarn.StormOnYarn: Copy App Master jar from local filesystem and add to local environment
13/10/17 17:09:20 INFO yarn.StormOnYarn: Set the environment for the application master
13/10/17 17:09:20 INFO yarn.StormOnYarn: Setting up app master command:[/usr/local/jdk/bin/java, -Dstorm.home=./storm/storm-0.9.0-wip21/, -Dlogfile.name=<LOG_DIR>/master.log, com.yahoo.storm.yarn.MasterServer, 1><LOG_DIR>/stderr, 2><LOG_DIR>/stdout]
13/10/17 17:09:20 INFO client.YarnClientImpl: Submitted application application_1381911735430_0154 to ResourceManager at datanode10/
172.21.40.67:8032application_1381911735430_0154
13/10/17 17:09:20 INFO service.AbstractService: Service:org.apache.hadoop.yarn.client.YarnClientImpl is stopped.
-------------------------------------------------------
after than I want to check the stat of this submission,I run
yarn logs -applicationId application_1381911735430_0154
the result looks like below:
----------------------------------------
13/10/17 17:09:22 INFO yarn.MasterServer: Starting the AM!!!!
13/10/17 17:09:24 INFO service.AbstractService: Service:com.yahoo.storm.yarn.client.AMRMClientImpl is inited.
13/10/17 17:09:25 INFO service.AbstractService: Service:com.yahoo.storm.yarn.client.AMRMClientImpl is started.
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: Storm master host:172.21.40.69
13/10/17 17:09:25 INFO yarn.MasterServer: launch nimbus
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: starting nimbus...
13/10/17 17:09:25 INFO yarn.MasterServer: launch ui
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: starting UI...
13/10/17 17:09:25 INFO yarn.MasterServer: launch 1 supervisors
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: adding 1 supervisors...
13/10/17 17:09:25 INFO yarn.StormAMRMClient: Added 1 supervisors, but not requesting containers now.
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: Running: /usr/local/jdk/bin/java -server -Dstorm.home=./storm/storm-0.9.0-wip21/ -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file=storm.yaml -cp conf:./storm/storm-0.9.0-wip21/:./storm/storm-0.9.0-wip21/*:./storm/storm-0.9.0-wip21/lib/* -Xmx768m -Dstorm.options=nimbus.host=localhost -Dlogfile.name=/var/log/hadoop-yarn/container/application_1381911735430_0154/container_1381911735430_0154_01_000001/ui.log backtype.storm.ui.core
13/10/17 17:09:25 INFO yarn.StormMasterServerHandler: Running: /usr/local/jdk/bin/java -server -Dstorm.home=./storm/storm-0.9.0-wip21/ -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file=storm.yaml -cp conf:./storm/storm-0.9.0-wip21/:./storm/storm-0.9.0-wip21/*:./storm/storm-0.9.0-wip21/lib/* -Xmx1024m -Dlogfile.name=/var/log/hadoop-yarn/container/application_1381911735430_0154/container_1381911735430_0154_01_000001/nimbus.log backtype.storm.daemon.nimbus
13/10/17 17:09:26 INFO yarn.MasterServer: Got a registration response minimumCapability {, memory: 1024, virtual_cores: 1, }, maximumCapability {, memory: 8192, virtual_cores: 1, },
13/10/17 17:09:26 INFO yarn.MasterServer: Max Capability <memory:8192, vCores:1>
13/10/17 17:09:26 INFO yarn.StormAMRMClient: Max Capability is now <memory:8192, vCores:1>
13/10/17 17:09:26 INFO yarn.MasterServer: Starting HB thread
13/10/17 17:09:26 INFO yarn.MasterServer: Starting launcher
13/10/17 17:09:26 INFO yarn.StormAMRMClient: Creating new ContainerRequest with <memory:8192, vCores:1> and 1
13/10/17 17:09:26 INFO yarn.StormAMRMClient: Requested container ask: Capability[<memory:8192, vCores:1>]Priority[0]ContainerCount[1]
13/10/17 17:09:26 INFO yarn.MasterServer: Starting Master Thrift Server
13/10/17 17:09:27 ERROR yarn.MasterServer: Unhandled error in AM:
java.lang.NoSuchMethodError: org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse.getAMResponse()Lorg/apache/hadoop/yarn/api/records/AMResponse;
at com.yahoo.storm.yarn.client.AMRMClientImpl.allocate(AMRMClientImpl.java:179)
at com.yahoo.storm.yarn.MasterServer$1.run(MasterServer.java:70)
13/10/17 17:09:27 INFO yarn.StormMasterServerHandler: stopping supervisors...
13/10/17 17:09:27 INFO yarn.StormMasterServerHandler: stopping UI...
13/10/17 17:09:27 INFO yarn.StormMasterServerHandler: stopping nimbus...
-----------------------------------------------------------------------------------
An Error :
java.lang.NoSuchMethodError: org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse.getAMResponse
How about the Error be caused ?the version of my yarn cluster is not cdh4.3.x but the cdh4.4.x?
I wish somebody could give me a replay,thx