[
https://issues.apache.org/jira/browse/ATLAS-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029452#comment-15029452
]
Hemanth Yamijala commented on ATLAS-337:
----------------------------------------
Exception stack trace:
{code}
2015-11-25 19:22:44,322 INFO - [qtp686746175-13 -
dfd99a9c-0b40-4182-ae40-7f70abe95249:] ~ Temporary exception during backend
operation [CacheMutation]. Attempting backoff retry. (BackendOperation:75)
com.thinkaurelius.titan.diskstorage.locking.TemporaryLockingException: Lock on
KeyColumn [k=0x 15- 97- 9- 67- 16-165-160-114-116- 37- 95-
95-116-105-109-101-115-116- 97-109-240, c=0x 0] already held by 99- 48- 97-
56- 48- 49- 48- 55- 50- 56- 56- 55- 51- 45- 72-101-109- 97-110-116-104- 45- 89-
97-109-105-106- 97-108- 97- 45- 77- 97- 99- 98-111-111-107- 45- 80-114-111-
45-108-111- 99- 97-108- 49 (we are 99- 48- 97- 56- 48- 49- 48- 55- 50- 56- 56-
57- 52- 45- 72-101-109- 97-110-116-104- 45- 89- 97-109-105-106- 97-108- 97- 45-
77- 97- 99- 98-111-111-107- 45- 80-114-111- 45-108-111- 99- 97-108- 49)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLocker.checkSeniority(ConsistentKeyLocker.java:443)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLocker.checkSingleLock(ConsistentKeyLocker.java:412)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLocker.checkSingleLock(ConsistentKeyLocker.java:108)
at
com.thinkaurelius.titan.diskstorage.locking.AbstractLocker.checkLocks(AbstractLocker.java:347)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ExpectedValueCheckingTransaction.checkAllLocks(ExpectedValueCheckingTransaction.java:163)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ExpectedValueCheckingTransaction.prepareForMutations(ExpectedValueCheckingTransaction.java:142)
at
com.thinkaurelius.titan.diskstorage.locking.consistentkey.ExpectedValueCheckingStoreManager.mutateMany(ExpectedValueCheckingStoreManager.java:57)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:89)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:86)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)
at
com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.persist(CacheTransaction.java:86)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.flushInternal(CacheTransaction.java:140)
at
com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.commit(CacheTransaction.java:197)
at
com.thinkaurelius.titan.diskstorage.BackendTransaction.commit(BackendTransaction.java:134)
at
com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.commit(StandardTitanGraph.java:644)
at
com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1337)
at
com.thinkaurelius.titan.graphdb.blueprints.TitanBlueprintsGraph.commit(TitanBlueprintsGraph.java:60)
at
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:43)
at
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
at
com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at
org.apache.atlas.repository.graph.GraphBackedMetadataRepository$$EnhancerByGuice$$5d81da48.createEntities(<generated>)
at
org.apache.atlas.services.DefaultMetadataService.createEntities(DefaultMetadataService.java:251)
at
org.apache.atlas.web.resources.EntityResource.submit(EntityResource.java:113)
{code}
> Hive import fails upon re-run if Atlas Server was restarted after abnormal
> termination
> --------------------------------------------------------------------------------------
>
> Key: ATLAS-337
> URL: https://issues.apache.org/jira/browse/ATLAS-337
> Project: Atlas
> Issue Type: Bug
> Environment: Local
> Reporter: Hemanth Yamijala
>
> Atlas trunk
> HBase is configured as backing store for Titan (Version 1.1.2).
> Steps to reproduce:
> * Start the Atlas server
> * Start hive import using import-hive.sh
> * While still in progress, terminate Atlas server with a kill -9
> * Restart Atlas server.
> * Restart Hive import process.
> Expectation is that the Hive import goes through fine. However, it failed
> with exceptions indicating locks in HBase.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)