Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-1001

Storage Lock ERROR when running C* in separate container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Inventory
    • None
    • Hide

      1) Start Hawkular and C* in separate containers (Hawkukar and Cassandra were running on Kubernetes during this test).
      2) Login jdoe
      3) Add URL, followed by adding a 2nd URL.

      Show
      1) Start Hawkular and C* in separate containers (Hawkukar and Cassandra were running on Kubernetes during this test). 2) Login jdoe 3) Add URL, followed by adding a 2nd URL.

    Description

      Occurred when adding a 2nd URL to Hawkular with C* running in separate containers:

      Full stack trace: http://pastebin.test.redhat.com/345519

      13:58:17,647 ERROR [com.thinkaurelius.titan.graphdb.database.StandardTitanGraph] (default task-12) Could not commit transaction [13] due to exception: com.thinkaurelius.titan.diskstorage.locking.PermanentLockingException: Local lock contention
      at com.thinkaurelius.titan.diskstorage.locking.AbstractLocker.writeLock(AbstractLocker.java:323)
      at com.thinkaurelius.titan.diskstorage.locking.consistentkey.ExpectedValueCheckingStore.acquireLock(ExpectedValueCheckingStore.java:89)
      at com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVSProxy.acquireLock(KCVSProxy.java:40)
      at com.thinkaurelius.titan.diskstorage.BackendTransaction.acquireIndexLock(BackendTransaction.java:240)
      at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.prepareCommit(StandardTitanGraph.java:506)
      at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.commit(StandardTitanGraph.java:635)
      at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1337)
      at com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.commit(TitanBlueprintsGraph.java:60)
      at org.hawkular.inventory.impl.tinkerpop.spi.GraphProvider.commit(GraphProvider.java:79)
      at org.hawkular.inventory.impl.tinkerpop.InventoryContext.commit(InventoryContext.java:56)
      at org.hawkular.inventory.impl.tinkerpop.TinkerpopBackend.commit(TinkerpopBackend.java:997)
      at org.hawkular.inventory.base.Mutator.lambda$doCreate$26(Mutator.java:115)
      at org.hawkular.inventory.base.spi.InventoryBackend$Transaction.execute(InventoryBackend.java:355)
      at org.hawkular.inventory.base.Util.commitOrRetry(Util.java:96)
      at org.hawkular.inventory.base.Util.runInTransaction(Util.java:78)
      at org.hawkular.inventory.base.Traversal.mutating(Traversal.java:78)
      at org.hawkular.inventory.base.Mutator.doCreate(Mutator.java:71)
      at org.hawkular.inventory.base.BaseMetrics$ReadWrite.create(BaseMetrics.java:120)
      at org.hawkular.inventory.base.BaseMetrics$ReadWrite.create(BaseMetrics.java:50)
      at org.hawkular.inventory.rest.RestMetrics.createMetric(RestMetrics.java:126)
      at org.hawkular.inventory.rest.RestMetrics.createMetric(RestMetrics.java:83)
      at org.hawkular.inventory.rest.RestMetrics$Proxy$_$$_WeldClientProxy.createMetric(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
      at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmahoney@redhat.com Matthew Mahoney
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: