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

Local lock contention

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.0.0.Alpha15
    • None
    • Inventory
    • None
    • Hide

      1) Mount Docker host volume into Hawkular container.
      docker run -v /tmp/hawkular-data:/data -d -p 8080:8080 hawkular/hawkular

      2) Create account and login

      3) Add URL

      Show
      1) Mount Docker host volume into Hawkular container. docker run -v /tmp/hawkular-data:/data -d -p 8080:8080 hawkular/hawkular 2) Create account and login 3) Add URL

      While testing the mounting of a Docker host volume into a Hawkular container, encountered the following Error, when attempting to add a URL:

      http://pastebin.test.redhat.com/318455

      ^[[31m15:33:57,805 ERROR [com.thinkaurelius.titan.graphdb.database.StandardTitanGraph] (default task-22) Could not commit transaction [14] 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:835)
      at org.hawkular.inventory.base.Mutator.lambda$doCreate$35(Mutator.java:111)
      at org.hawkular.inventory.base.Mutator$$Lambda$129/1879008728.run(Unknown Source)
      at org.hawkular.inventory.base.spi.InventoryBackend$Transaction.execute(InventoryBackend.java:330)
      at org.hawkular.inventory.base.Util.commitOrRetry(Util.java:94)
      at org.hawkular.inventory.base.Util.runInTransaction(Util.java:76)
      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:104)
      at org.hawkular.inventory.base.BaseMetrics$ReadWrite.create(BaseMetrics.java:48)
      at org.hawkular.inventory.rest.RestMetrics.createMetric(RestMetrics.java:125)
      at org.hawkular.inventory.rest.RestMetrics.createMetric(RestMetrics.java:82)
      at org.hawkular.inventory.rest.RestMetrics$Proxy$_$$_WeldClientProxy.createMetric(Unknown Source

            rhn-engineering-lkrejci Lukas Krejci
            mmahoney@redhat.com Matthew Mahoney
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: