com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend exception

Stack Overflow | Marcin Koch | 2 months ago
  1. 0

    Index inconsistency with Titan over AWS DynamoDB

    Stack Overflow | 2 months ago | Marcin Koch
    com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend exception

    Root Cause Analysis

    1. com.amazon.titan.diskstorage.dynamodb.BackendRuntimeException

      was interrupted during parallelMutate

      at com.amazon.titan.diskstorage.dynamodb.DynamoDBDelegate.parallelMutate()
    2. com.amazon.titan
      DynamoDBStoreManager.mutateMany
      1. com.amazon.titan.diskstorage.dynamodb.DynamoDBDelegate.parallelMutate(DynamoDBDelegate.java:301)[dynamodb-titan100-storage-backend-1.0.0.jar:na]
      2. com.amazon.titan.diskstorage.dynamodb.DynamoDBStoreManager.mutateMany(DynamoDBStoreManager.java:194)[dynamodb-titan100-storage-backend-1.0.0.jar:na]
      2 frames
    3. Titan-Core: Core Library for Titan
      StandardTitanTx.commit
      1. com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:90)[titan-core-1.0.0.jar:na]
      2. com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction$1.call(CacheTransaction.java:87)[titan-core-1.0.0.jar:na]
      3. com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)[titan-core-1.0.0.jar:na]
      4. com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)[titan-core-1.0.0.jar:na]
      5. com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.persist(CacheTransaction.java:87)[titan-core-1.0.0.jar:na]
      6. com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.flushInternal(CacheTransaction.java:141)[titan-core-1.0.0.jar:na]
      7. com.thinkaurelius.titan.diskstorage.keycolumnvalue.cache.CacheTransaction.commit(CacheTransaction.java:198)[titan-core-1.0.0.jar:na]
      8. com.thinkaurelius.titan.diskstorage.BackendTransaction.commitStorage(BackendTransaction.java:118)[titan-core-1.0.0.jar:na]
      9. com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.commit(StandardTitanGraph.java:718)[titan-core-1.0.0.jar:na]
      10. com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.commit(StandardTitanTx.java:1352)[titan-core-1.0.0.jar:na]
      10 frames
    4. com.hybris.caas
      TitanTransactionManager.doCommit
      1. com.hybris.caas.category.titan.TitanTransactionManager.doCommit(TitanTransactionManager.java:126)[classes/:na]
      1 frame
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      4. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      5. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)[spring-tx-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      5 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)[spring-aop-4.2.5.RELEASE.jar:4.2.5.RELEASE]
      2 frames
    7. com.sun.proxy
      $Proxy41.createCategory
      1. com.sun.proxy.$Proxy41.createCategory(Unknown Source)[na:na]
      1 frame
    8. com.hybris.caas
      CreateCategoryCommand.run
      1. com.hybris.caas.category.command.CreateCategoryCommand.run(CreateCategoryCommand.java:81)[classes/:na]
      2. com.hybris.caas.category.command.CreateCategoryCommand.run(CreateCategoryCommand.java:35)[classes/:na]
      2 frames
    9. hystrix-core
      HystrixCommand$1.call
      1. com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:293)[hystrix-core-1.5.1.jar:1.5.1]
      2. com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:288)[hystrix-core-1.5.1.jar:1.5.1]
      2 frames
    10. rxjava
      Observable.unsafeSubscribe
      1. rx.Observable$2.call(Observable.java:162)[rxjava-1.1.1.jar:1.1.1]
      2. rx.Observable$2.call(Observable.java:154)[rxjava-1.1.1.jar:1.1.1]
      3. rx.Observable$2.call(Observable.java:162)[rxjava-1.1.1.jar:1.1.1]
      4. rx.Observable$2.call(Observable.java:154)[rxjava-1.1.1.jar:1.1.1]
      5. rx.Observable$2.call(Observable.java:162)[rxjava-1.1.1.jar:1.1.1]
      6. rx.Observable$2.call(Observable.java:154)[rxjava-1.1.1.jar:1.1.1]
      7. rx.Observable.unsafeSubscribe(Observable.java:8314)[rxjava-1.1.1.jar:1.1.1]
      7 frames
    11. hystrix-core
      AbstractCommand$5.call
      1. com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:521)[hystrix-core-1.5.1.jar:1.5.1]
      2. com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:497)[hystrix-core-1.5.1.jar:1.5.1]
      2 frames
    12. rxjava
      OperatorSubscribeOn$1.call
      1. rx.Observable.unsafeSubscribe(Observable.java:8314)[rxjava-1.1.1.jar:1.1.1]
      2. rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)[rxjava-1.1.1.jar:1.1.1]
      2 frames
    13. hystrix-core
      HystrixContexSchedulerAction$1.call
      1. com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)[hystrix-core-1.5.1.jar:1.5.1]
      2. com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)[hystrix-core-1.5.1.jar:1.5.1]
      2 frames
    14. com.sap.cloud
      DelegatingMDCCallable.call
      1. com.sap.cloud.yaas.servicesdk.logging.DelegatingMDCCallable.call(DelegatingMDCCallable.java:58)[service-sdk-logging-4.7.0.jar:4.7.0]
      1 frame
    15. hystrix-core
      HystrixContexSchedulerAction.call
      1. com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)[hystrix-core-1.5.1.jar:1.5.1]
      1 frame
    16. rxjava
      ScheduledAction.run
      1. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)[rxjava-1.1.1.jar:1.1.1]
      1 frame
    17. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_102]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_102]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_102]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_102]
      5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
      5 frames