atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-37) atlas-repository tests fails with Hbase and Solr as Titan storage backend
Date Fri, 26 Jun 2015 08:10:04 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suma Shivaprasad updated ATLAS-37:
----------------------------------
    Summary: atlas-repository tests fails with Hbase and Solr as Titan storage backend  (was:
atlas-repository tests fails with Hbase as Titan storage backend)

> atlas-repository tests fails with Hbase and Solr as Titan storage backend
> -------------------------------------------------------------------------
>
>                 Key: ATLAS-37
>                 URL: https://issues.apache.org/jira/browse/ATLAS-37
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Suma Shivaprasad
>            Assignee: Suma Shivaprasad
>
> {noformat}
> Running org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
> Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.609 sec - in org.apache.atlas.discovery.GraphBackedDiscoveryServiceTest
> Running org.apache.atlas.discovery.HiveLineageServiceTest
> Tests run: 45, Failures: 1, Errors: 0, Skipped: 44, Time elapsed: 533.15 sec <<<
FAILURE! - in org.apache.atlas.discovery.HiveLineageServiceTest
> setUp(org.apache.atlas.discovery.HiveLineageServiceTest)  Time elapsed: 533.067 sec 
<<< FAILURE!
> java.lang.IllegalArgumentException: The type of given name is not a key: View.inputTables
> 	at com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx.getOrCreatePropertyKey(StandardTitanTx.java:906)
> 	at com.thinkaurelius.titan.graphdb.vertices.AbstractVertex.setProperty(AbstractVertex.java:239)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.addProperty(GraphBackedMetadataRepository.java:870)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.access$900(GraphBackedMetadataRepository.java:74)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.mapArrayCollectionToVertex(GraphBackedMetadataRepository.java:710)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.mapAttributesToVertex(GraphBackedMetadataRepository.java:660)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.mapInstanceToVertex(GraphBackedMetadataRepository.java:633)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.addDiscoveredInstances(GraphBackedMetadataRepository.java:607)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.mapTypedInstanceToGraph(GraphBackedMetadataRepository.java:446)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository$TypedInstanceToGraphMapper.access$100(GraphBackedMetadataRepository.java:432)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.createEntity(GraphBackedMetadataRepository.java:148)
> 	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:41)
> 	at org.apache.atlas.services.DefaultMetadataService.createEntity(DefaultMetadataService.java:231)
> 	at org.apache.atlas.discovery.HiveLineageServiceTest.createInstance(HiveLineageServiceTest.java:518)
> 	at org.apache.atlas.discovery.HiveLineageServiceTest.view(HiveLineageServiceTest.java:509)
> 	at org.apache.atlas.discovery.HiveLineageServiceTest.setupInstances(HiveLineageServiceTest.java:409)
> 	at org.apache.atlas.discovery.HiveLineageServiceTest.setUp(HiveLineageServiceTest.java:75)
> Running org.apache.atlas.query.BaseGremlinTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.201 sec - in org.apache.atlas.query.BaseGremlinTest
> Running org.apache.atlas.query.ExpressionTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.21 sec - in org.apache.atlas.query.ExpressionTest
> Running org.apache.atlas.query.GremlinTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec - in org.apache.atlas.query.GremlinTest
> Running org.apache.atlas.query.LexerTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec - in org.apache.atlas.query.LexerTest
> Running org.apache.atlas.query.LineageQueryTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec - in org.apache.atlas.query.LineageQueryTest
> Running org.apache.atlas.query.ParserTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec - in org.apache.atlas.query.ParserTest
> Running org.apache.atlas.query.TestApp
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec - in org.apache.atlas.query.TestApp
> Running org.apache.atlas.repository.BaseTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec - in org.apache.atlas.repository.BaseTest
> Running org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
> Tests run: 25, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 350.028 sec <<<
FAILURE! - in org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest
> testFullTextSearch(org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest)
 Time elapsed: 1.025 sec  <<< FAILURE!
> com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend
exception
> 	at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:516)
> 	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
> 	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
> 	at org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:478)
> 	at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
> 	at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
> 	at com.thinkaurelius.titan.diskstorage.solr.SolrIndex.query(SolrIndex.java:457)
> 	at com.thinkaurelius.titan.diskstorage.indexing.IndexTransaction.query(IndexTransaction.java:91)
> 	at com.thinkaurelius.titan.diskstorage.BackendTransaction$7.call(BackendTransaction.java:416)
> 	at com.thinkaurelius.titan.diskstorage.BackendTransaction$7.call(BackendTransaction.java:413)
> 	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.BackendTransaction.executeRead(BackendTransaction.java:428)
> 	at com.thinkaurelius.titan.diskstorage.BackendTransaction.rawQuery(BackendTransaction.java:413)
> 	at com.thinkaurelius.titan.graphdb.database.IndexSerializer.executeQuery(IndexSerializer.java:652)
> 	at com.thinkaurelius.titan.graphdb.query.graph.IndexQueryBuilder.execute(IndexQueryBuilder.java:183)
> 	at com.thinkaurelius.titan.graphdb.query.graph.IndexQueryBuilder.vertices(IndexQueryBuilder.java:202)
> 	at org.apache.atlas.discovery.graph.GraphBackedDiscoveryService.searchByFullText(GraphBackedDiscoveryService.java:88)
> 	at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:41)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest.testFullTextSearch(GraphBackedMetadataRepositoryTest.java:447)
> testSearchByDSLWithInheritance(org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest)
 Time elapsed: 0.311 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:365)
> 	at org.testng.Assert.assertEquals(Assert.java:375)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest.testSearchByDSLWithInheritance(GraphBackedMetadataRepositoryTest.java:403)
> testGetEntityList(org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest)
 Time elapsed: 0.004 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1> but was:<2>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:365)
> 	at org.testng.Assert.assertEquals(Assert.java:375)
> 	at org.apache.atlas.repository.graph.GraphBackedMetadataRepositoryTest.testGetEntityList(GraphBackedMetadataRepositoryTest.java:142)
> Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.221 sec - in org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
> Running org.apache.atlas.repository.memory.ClassTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec - in org.apache.atlas.repository.memory.ClassTest
> Running org.apache.atlas.repository.memory.EnumTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec - in org.apache.atlas.repository.memory.EnumTest
> Running org.apache.atlas.repository.memory.InstanceE2ETest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 sec - in org.apache.atlas.repository.memory.InstanceE2ETest
> Running org.apache.atlas.repository.memory.StorageTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.18 sec - in org.apache.atlas.repository.memory.StorageTest
> Running org.apache.atlas.repository.memory.StructTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec - in org.apache.atlas.repository.memory.StructTest
> Running org.apache.atlas.repository.memory.TraitTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 sec - in org.apache.atlas.repository.memory.TraitTest
> Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.575 sec <<<
FAILURE! - in org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
> testRestore(org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest)  Time elapsed:
0.073 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<1> but was:<7>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:199)
> 	at junit.framework.Assert.assertEquals(Assert.java:205)
> 	at org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest.testRestore(GraphBackedTypeStoreTest.java:115)
> Running org.apache.atlas.RepositoryServiceLoadingTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.201 sec - in org.apache.atlas.RepositoryServiceLoadingTest
> Running org.apache.atlas.TestUtils
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec - in org.apache.atlas.TestUtils
> Results :
> Failed tests:
>   HiveLineageServiceTest.setUp:75->setupInstances:409->view:509->createInstance:518
» IllegalArgument
>   GraphBackedMetadataRepositoryTest.testFullTextSearch:447 » Titan Could not exe...
>   GraphBackedMetadataRepositoryTest.testGetEntityList:142 expected:<1> but was:<2>
>   GraphBackedMetadataRepositoryTest.testSearchByDSLWithInheritance:403 expected:<1>
but was:<2>
>   GraphBackedTypeStoreTest.testRestore:115 expected:<1> but was:<7>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message