[CONTROLLER-848] Clustering : feature:install odl-mdsal-all error Created: 17/Sep/14  Updated: 18/Sep/14  Resolved: 18/Sep/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: pinghe Assignee: Harman Singh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
External issue ID: 1930
Priority: High

 Description   

feature:install odl-openflowplugin-flow-services
feature:install odl-restconf
bundle:install -s mvn:org.jolokia/jolokia-osgi/1.2.2
feature:install odl-mdsal-all

2014-09-17 16:41:25,901 | ERROR | lt-dispatcher-23 | ActorSystemImpl | 226 - com.typesafe.akka.slf4j - 2.3.4 | Uncaught error from thread [opendaylight-cluster-data-akka.actor.default-dispatcher-2] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
java.lang.NoSuchMethodError: org.opendaylight.controller.md.sal.common.util.jmx.ThreadExecutorStatsMXBeanImpl.create(Ljava/util/concurrent/Executor;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/opendaylight/controller/md/sal/common/util/jmx/ThreadExecutorStatsMXBeanImpl;
at org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardStats.setDataStoreExecutor(ShardStats.java:77)[240:org.opendaylight.controller.sal-distributed-datastore:1.1.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.Shard.<init>(Shard.java:143)[240:org.opendaylight.controller.sal-distributed-datastore:1.1.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.Shard.<init>(Shard.java:86)[240:org.opendaylight.controller.sal-distributed-datastore:1.1.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.Shard$ShardCreator.create(Shard.java:590)[240:org.opendaylight.controller.sal-distributed-datastore:1.1.0.SNAPSHOT]
at org.opendaylight.controller.cluster.datastore.Shard$ShardCreator.create(Shard.java:571)[240:org.opendaylight.controller.sal-distributed-datastore:1.1.0.SNAPSHOT]
at akka.actor.CreatorConsumer.produce(Props.scala:335)[225:com.typesafe.akka.actor:2.3.4]
at akka.actor.Props.newActor(Props.scala:252)[225:com.typesafe.akka.actor:2.3.4]
at akka.actor.ActorCell.newActor(ActorCell.scala:552)[225:com.typesafe.akka.actor:2.3.4]
at akka.actor.ActorCell.create(ActorCell.scala:578)[225:com.typesafe.akka.actor:2.3.4]
at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456)[225:com.typesafe.akka.actor:2.3.4]
at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478)[225:com.typesafe.akka.actor:2.3.4]
at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263)[225:com.typesafe.akka.actor:2.3.4]
at akka.dispatch.Mailbox.run(Mailbox.scala:219)[225:com.typesafe.akka.actor:2.3.4]
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)[225:com.typesafe.akka.actor:2.3.4]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[222:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[222:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[222:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[222:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b]



 Comments   
Comment by Moiz Raja [ 17/Sep/14 ]

Hi pinghe, which build did you see this problem with? Was this something that you built?

Comment by pinghe [ 17/Sep/14 ]

build success.

cd integration
mvn clean install -DskipTests
distributions\extra\karaf\target\assembly\bin
karaf.bat

feature:install odl-openflowplugin-flow-services
feature:install odl-restconf
bundle:install -s mvn:org.jolokia/jolokia-osgi/1.2.2
feature:install odl-mdsal-all

opendaylight-user@root>feature:install odl-openflowplugin-flow-services
opendaylight-user@root>feature:install odl-restconf
Refreshing bundles org.eclipse.persistence.core (138), com.google.guava (78), org.eclipse.persistence.moxy (139)
opendaylight-user@root>bundle:install -s mvn:org.jolokia/jolokia-osgi/1.2.2
Bundle ID: 221
opendaylight-user@root>feature:install odl-mdsal-all

Comment by pinghe [ 17/Sep/14 ]

Attachment karaf.log has been added with description: karaf.log

Comment by Harman Singh [ 17/Sep/14 ]

Hi pinghe,

I tried your mentioned steps on integration build and I don't see any issue. I build the integration branch on my local.

Here is what i would recommend you could do -

Get latest integration branch code and build it locally again and see if you see the error.

To be on safer side, you can start after deleting your local .m2 repository.

Comment by Harman Singh [ 18/Sep/14 ]

Hi Pinghe,

Let me know if you still see this issue, otherwise, we can close this defect.

Comment by pinghe [ 18/Sep/14 ]

start after deleting your local .m2 repository, they succeeded.

Comment by Harman Singh [ 18/Sep/14 ]

sometimes, older jars in local m2 cause issues, I'll mark this bug fixed now

Generated at Wed Feb 07 19:54:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.