Re: [controller-dev] List element cohort validation causes issue
On Sat, Mar 10, 2018 at 11:53 AM, Satish Dutt wrote: > Hi All, > > > > I have a cohort validation for the list element. If I try to create the > entire list having multiple items, I am getting the below error. If I try > to create a single list element, then its successful. Is there any way I > can avoid this issue. I am trying this in Boron-SR3 > > > > > > 2018-03-07 14:53:01,681 | ERROR | ult-dispatcher-4 | > OneForOneStrategy| 153 - com.typesafe.akka.slf4j - 2.4.7 > | Unexpected message class > org.opendaylight.controller.cluster.datastore.DataTreeCohortActor$CanCommit > in cohort behavior PostCanCommit > > java.lang.UnsupportedOperationException: Unexpected message class > org.opendaylight.controller.cluster.datastore.DataTreeCohortActor$CanCommit > in cohort behavior PostCanCommit > > at org.opendaylight.controller.cluster.datastore. > DataTreeCohortActor$CohortBehaviour.handle(DataTreeCohortActor.java:152)[ > 170:org.opendaylight.controller.sal-distributed-datastore:1.4.3.Boron-SR3] > > at org.opendaylight.controller.cluster.datastore. > DataTreeCohortActor.handleReceive(DataTreeCohortActor.java:45)[ > 170:org.opendaylight.controller.sal-distributed-datastore:1.4.3.Boron-SR3] > > at org.opendaylight.controller.cluster.common.actor. > AbstractUntypedActor.onReceive(AbstractUntypedActor.java:26)[ > 164:org.opendaylight.controller.sal-clustering-commons:1.4.3.Boron-SR3] > > at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse( > UntypedActor.scala:165)[152:com.typesafe.akka.actor:2.4.7] > > at akka.actor.Actor$class.aroundReceive(Actor.scala:484) > [152:com.typesafe.akka.actor:2.4.7] > > at akka.actor.UntypedActor.aroundReceive(UntypedActor. > scala:95)[152:com.typesafe.akka.actor:2.4.7] > > at akka.actor.ActorCell.receiveMessage(ActorCell. > scala:526)[152:com.typesafe.akka.actor:2.4.7] > > at akka.actor.ActorCell.invoke(ActorCell.scala:495)[152:com. > typesafe.akka.actor:2.4.7] > > at akka.dispatch.Mailbox.processMailbox(Mailbox.scala: > 257)[152:com.typesafe.akka.actor:2.4.7] > > at akka.dispatch.Mailbox.run(Mailbox.scala:224)[152:com. > typesafe.akka.actor:2.4.7] > > at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[152:com. > typesafe.akka.actor:2.4.7] > > at scala.concurrent.forkjoin.ForkJoinTask.doExec( > ForkJoinTask.java:260)[148:org.scala-lang.scala-library: > 2.11.8.v20160304-115712-1706a37eb8] > > at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue. > runTask(ForkJoinPool.java:1339)[148:org.scala-lang.scala-library:2.11.8. > v20160304-115712-1706a37eb8] > > at scala.concurrent.forkjoin.ForkJoinPool.runWorker( > ForkJoinPool.java:1979)[148:org.scala-lang.scala-library: > 2.11.8.v20160304-115712-1706a37eb8] > > at scala.concurrent.forkjoin.ForkJoinWorkerThread.run( > ForkJoinWorkerThread.java:107)[148:org.scala-lang.scala- > library:2.11.8.v20160304-115712-1706a37eb8] > > > This was fixed by https://git.opendaylight.org/gerrit/#/c/51584/ which is in Nitrogen. > > > Regards > > -Satish > > ___ > controller-dev mailing list > controller-dev@lists.opendaylight.org > https://lists.opendaylight.org/mailman/listinfo/controller-dev > > ___ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev
[controller-dev] Error in developing a new module
Hello, I started developing an application in ODL Carbon based on the following link: http://docs.opendaylight.org/en/stable-carbon/developer-guid e/developing-apps-on-the-opendaylight-controller.html?highli ght=developing%20applications for getting the default OpenDaylight settings.xml file, I tried: cp -n ~/.m2/settings.xml{,.orig} ; \wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/stable/boron/settings.xml > ~/.m2/settings.xml Also I tried : cp -n ~/.m2/repository/settings.xml{,.orig} ; \wget -q -O - https://raw.githubusercontent.com/opendaylight/odlparent/stable/boron/settings.xml > ~/.m2/repository/settings.xml and then :: mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype \-DarchetypeRepository=https://nexus.opendaylight.org/content/repositories/public/ \-DarchetypeCatalog=https://nexus.opendaylight.org/content/repositories/public/archetype-catalog.xml In both cases, when I run the above command, I received the follwing error: [INFO] Scanning for projects... [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 0.235 s [INFO] Finished at: 2018-03-10T21:17:56-05:00 [INFO] Final Memory: 6M/60M [INFO] [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/core). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException Also, when I delete the -DarchetypeCatalog, I have to enter a number to continue. Do you have any suggestion to fix the problem? Thank you ___ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev
[controller-dev] How to start writing application in ODL
Hello, I am new to ODL and I installed Nitrogen SR2. I want to write a simple ping application in ODL. However, there are a lot of resources and I don't know which one is suitable for this version and don't know how to start. Is there is any tutorial to start from the beginner? Thank you ___ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev
[controller-dev] List element cohort validation causes issue
Hi All, I have a cohort validation for the list element. If I try to create the entire list having multiple items, I am getting the below error. If I try to create a single list element, then its successful. Is there any way I can avoid this issue. I am trying this in Boron-SR3 2018-03-07 14:53:01,681 | ERROR | ult-dispatcher-4 | OneForOneStrategy | 153 - com.typesafe.akka.slf4j - 2.4.7 | Unexpected message class org.opendaylight.controller.cluster.datastore.DataTreeCohortActor$CanCommit in cohort behavior PostCanCommit java.lang.UnsupportedOperationException: Unexpected message class org.opendaylight.controller.cluster.datastore.DataTreeCohortActor$CanCommit in cohort behavior PostCanCommit at org.opendaylight.controller.cluster.datastore.DataTreeCohortActor$CohortBehaviour.handle(DataTreeCohortActor.java:152)[170:org.opendaylight.controller.sal-distributed-datastore:1.4.3.Boron-SR3] at org.opendaylight.controller.cluster.datastore.DataTreeCohortActor.handleReceive(DataTreeCohortActor.java:45)[170:org.opendaylight.controller.sal-distributed-datastore:1.4.3.Boron-SR3] at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:26)[164:org.opendaylight.controller.sal-clustering-commons:1.4.3.Boron-SR3] at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)[152:com.typesafe.akka.actor:2.4.7] at akka.actor.Actor$class.aroundReceive(Actor.scala:484)[152:com.typesafe.akka.actor:2.4.7] at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)[152:com.typesafe.akka.actor:2.4.7] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[152:com.typesafe.akka.actor:2.4.7] at akka.actor.ActorCell.invoke(ActorCell.scala:495)[152:com.typesafe.akka.actor:2.4.7] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[152:com.typesafe.akka.actor:2.4.7] at akka.dispatch.Mailbox.run(Mailbox.scala:224)[152:com.typesafe.akka.actor:2.4.7] at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[152:com.typesafe.akka.actor:2.4.7] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[148:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[148:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[148:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[148:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8] Regards -Satish ___ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev