[ https://issues.apache.org/jira/browse/ATLAS-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223809#comment-15223809 ]
Hemanth Yamijala commented on ATLAS-625: ---------------------------------------- Log including the stack trace: {code} 2016-04-04 07:13:44,157 DEBUG - [main:] ~ graph commit (GraphTransactionInterceptor:44) results = {"query":"D where (a = 1)","dataType":{"superTypes":["C"],"hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.ClassType","typeName":"D","typeDescription":null,"attributeDefinitions":[{"name":"d","dataTypeName":"short","multiplicity":{"lower":0,"upper":1,"isUnique":false},"isComposite":false,"isUnique":false,"isIndexable":true,"reverseAttributeName":null}]},"rows":[{"$typeName$":"D","$id$":{"id":"c0522e99-8f46-4485-87a3-3de0ae580493","$typeName$":"D","version":0},"b":true,"d":1,"a":1,"c":1}]} java.lang.IllegalStateException: There is 1 existing transaction opened against the Environment. Aborting open transactions ... aborting <Transaction id="291"> at com.sleepycat.je.Environment.close(Environment.java:384) at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.close(BerkeleyJEStoreManager.java:229) at com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter.close(OrderedKeyValueStoreManagerAdapter.java:57) at com.thinkaurelius.titan.diskstorage.Backend.close(Backend.java:492) at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdownInternal(StandardTitanGraph.java:174) at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.shutdown(StandardTitanGraph.java:158) at org.apache.atlas.BaseHiveRepositoryTest.tearDown(BaseHiveRepositoryTest.java:79) at org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest.tearDown(GraphBackedDiscoveryServiceTest.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130) at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:222) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:129) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:113) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) {code} > GraphBackedDiscoveryServiceTest throws an exception in shutdown. > ---------------------------------------------------------------- > > Key: ATLAS-625 > URL: https://issues.apache.org/jira/browse/ATLAS-625 > Project: Atlas > Issue Type: Bug > Reporter: Hemanth Yamijala > Fix For: 0.7-incubating > > > The tests don't fail because this is guarded by a try-catch block, but > ideally we should check why we are getting this error and make sure the right > fix is done. This was pointed out by [~nixonrodrigues] initially. > Filing this here just so we don't lose track. -- This message was sent by Atlassian JIRA (v6.3.4#6332)