Tests run: 45, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 93.454 sec <<< FAILURE! - in org.apache.atlas.hive.hook.HiveHookIT
testInsertIntoTable(org.apache.atlas.hive.hook.HiveHookIT) Time elapsed: 2.097 sec <<< FAILURE!
org.apache.atlas.AtlasServiceException: Metadata service API GET_ENTITY failed with status 500(Internal Server Error) Response Body ({"error":"Could not execute operation due to backend exception","stackTrace":"com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend exception\n\tat com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:44)\n\tat com.thinkaurelius.titan.diskstorage.BackendTransaction.executeRead(BackendTransaction.java:428)\n\tat com.thinkaurelius.titan.diskstorage.BackendTransaction.edgeStoreQuery(BackendTransaction.java:253)\n\tat com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.edgeQuery(StandardTitanGraph.java:365)\n\tat com.thinkaurelius.titan.graphdb.query.vertex.SimpleVertexQueryProcessor$2.get(SimpleVertexQueryProcessor.java:109)\n\tat com.thinkaurelius.titan.graphdb.query.vertex.SimpleVertexQueryProcessor$2.get(SimpleVertexQueryProcessor.java:106)\n\tat com.thinkaurelius.titan.graphdb.vertices.CacheVertex.loadRelations(CacheVertex.java:47)\n\tat com.thinkaurelius.titan.graphdb.query.vertex.SimpleVertexQueryProcessor.getBasicIterator(SimpleVertexQueryProcessor.java:106)\n\tat com.thinkaurelius.titan.graphdb.query.vertex.SimpleVertexQueryProcessor.iterator(SimpleVertexQueryProcessor.java:63)\n\tat com.thinkaurelius.titan.graphdb.transaction.RelationConstructor$1$1.<init>(RelationConstructor.java:36)\n\tat com.thinkaurelius.titan.graphdb.transaction.RelationConstructor$1.iterator(RelationConstructor.java:34)\n\tat org.apache.atlas.repository.graph.GraphHelper.getTraitNames(GraphHelper.java:325)\n\tat org.apache.atlas.repository.graph.GraphToTypedInstanceMapper.mapGraphToTypedInstance(GraphToTypedInstanceMapper.java:70)\n\tat org.apache.atlas.repository.graph.GraphToTypedInstanceMapper.mapVertexToClassReference(GraphToTypedInstanceMapper.java:176)\n\tat org.apache.atlas.repository.graph.GraphToTypedInstanceMapper.mapVertexToAttribute(GraphToTypedInstanceMapper.java:146)\n\tat org.apache.atlas.repository.graph.GraphToTypedInstanceMapper.mapVertexToInstance(GraphToTypedInstanceMapper.java:101)\n\tat org.apache.atlas.repository.graph.GraphToTypedInstanceMapper.mapGraphToTypedInstance(GraphToTypedInstanceMapper.java:80)\n\tat org.apache.atlas.repository.graph.GraphBackedMetadataRepository.getEntityDefinition(GraphBackedMetadataRepository.java:167)\n\tat org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:42)\n\tat org.apache.atlas.services.DefaultMetadataService.getEntityDefinitionReference(DefaultMetadataService.java:398)\n\tat org.apache.atlas.services.DefaultMetadataService.getEntityDefinition(DefaultMetadataService.java:403)\n\tat org.apache.atlas.web.resources.EntityResource.getEntityDefinitionByAttribute(EntityResource.java:515)\n\tat org.apache.atlas.web.resources.EntityResource.getEntity(EntityResource.java:497)\n\tat sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:606)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:790)\n\tat com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287)\n\tat com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277)\n\tat com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)\n\tat com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)\n\tat org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:71)\n\tat com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)\n\tat com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)\n\tat com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)\n\tat com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)\n\tat com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)\n\tat org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\n\tat org.eclipse.jetty.server.Server.handle(Server.java:499)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat java.lang.Thread.run(Thread.java:745)\nCaused by: com.thinkaurelius.titan.diskstorage.PermanentBackendException: Permanent failure in storage backend\n\tat com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.getSlice(BerkeleyJEKeyValueStore.java:166)\n\tat com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreAdapter.getSlice(OrderedKeyValueStoreAdapter.java:56)\n\tat com.thinkaurelius.titan.diskstorage.keycolumnvalue.KCVSProxy.getSlice(KCVSProxy.java:65)\n\tat com.thinkaurelius.titan.diskstorage.BackendTransaction$1.call(BackendTransaction.java:256)\n\tat com.thinkaurelius.titan.diskstorage.BackendTransaction$1.call(BackendTransaction.java:253)\n\tat com.thinkaurelius.titan.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:56)\n\tat com.thinkaurelius.titan.diskstorage.util.BackendOperation.execute(BackendOperation.java:42)\n\t... 72 more\nCaused by: com.sleepycat.je.LockTimeoutException: (JE 5.0.73) Lock expired. Locker 1275296909 4597_qtp2046153356-53 - 01fd8493-f97a-40c4-8021-de12529605b0_Txn: waited for lock on database=edgestore LockAddr:2092545108 LSN=0x0\/0x1e5fa1 type=READ grant=WAIT_NEW timeoutMillis=500 startTime=1466574551868 endTime=1466574552370\nOwners: [<LockInfo locker=\"906397683 4593_NotificationHookConsumer thread-0_Txn\" type=\"WRITE\"\/>]\nWaiters: []\n\n\tat com.sleepycat.je.txn.LockManager.newLockTimeoutException(LockManager.java:664)\n\tat com.sleepycat.je.txn.LockManager.makeTimeoutMsgInternal(LockManager.java:623)\n\tat com.sleepycat.je.txn.SyncedLockManager.makeTimeoutMsg(SyncedLockManager.java:97)\n\tat com.sleepycat.je.txn.LockManager.lockInternal(LockManager.java:390)\n\tat com.sleepycat.je.txn.LockManager.lock(LockManager.java:276)\n\tat com.sleepycat.je.txn.Txn.lockInternal(Txn.java:498)\n\tat com.sleepycat.je.txn.Locker.lock(Locker.java:443)\n\tat com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2621)\n\tat com.sleepycat.je.dbi.CursorImpl.lockLN(CursorImpl.java:2422)\n\tat com.sleepycat.je.dbi.CursorImpl.fetchCurrent(CursorImpl.java:2253)\n\tat com.sleepycat.je.dbi.CursorImpl.getCurrentAlreadyLatched(CursorImpl.java:1466)\n\tat com.sleepycat.je.dbi.CursorImpl.getNext(CursorImpl.java:1593)\n\tat com.sleepycat.je.Cursor.searchInternal(Cursor.java:2742)\n\tat com.sleepycat.je.Cursor.searchAllowPhantoms(Cursor.java:2576)\n\tat com.sleepycat.je.Cursor.searchNoDups(Cursor.java:2430)\n\tat com.sleepycat.je.Cursor.search(Cursor.java:2397)\n\tat com.sleepycat.je.Cursor.getSearchKeyRange(Cursor.java:1727)\n\tat com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEKeyValueStore.getSlice(BerkeleyJEKeyValueStore.java:123)\n\t... 78 more\n"})
at org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:1651)
at org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:1620)
at org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:1613)
at org.apache.atlas.hive.hook.HiveHookIT.testInsertIntoTable(HiveHookIT.java:535)
Results :
Failed tests:
HiveHookIT.testInsertIntoTable:535->assertTableIsRegistered:1613->assertTableIsRegistered:1620->assertEntityIsRegistered:1651 ยป AtlasService
Tests run: 45, Failures: 1, Errors: 0, Skipped: 0