You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/01/04 08:58:58 UTC

[jira] [Updated] (ATLAS-1003) DataSetLineageServiceTest, GraphBackedDiscoveryServiceTest, and GraphRepoMapperScaleTest failing in some environments

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

Madhan Neethiraj updated ATLAS-1003:
------------------------------------
    Fix Version/s: 0.7.1-incubating

Committed to 0.7-incubating branch: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/2e0d515e201c3d108e011aed41edede34a2401ba

> DataSetLineageServiceTest, GraphBackedDiscoveryServiceTest, and GraphRepoMapperScaleTest failing in some environments
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1003
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1003
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: David Kantor
>            Assignee: David Kantor
>             Fix For: 0.8-incubating, 0.7.1-incubating
>
>         Attachments: rb49929.patch
>
>
> DataSetLineageServiceTest, GraphBackedDiscoveryServiceTest, and GraphRepoMapperScaleTest are failing in some environments, depending on the order in which the surefire plugin runs the repository tests.  On my Windows box, these tests consistently pass when running the repository tests.  But on my Linux VM, the surefire plugin runs the repository tests in a different order, and the tests listed above consistently fail, due to what appears to be a type system incompatibility between types left around by previously run tests and the types defined/used by these tests.  For example, here is the stack trace from the DataSetLineageServiceTest failure:
> {noformat}Running org.apache.atlas.discovery.DataSetLineageServiceTest
> Tests run: 60, Failures: 1, Errors: 0, Skipped: 59, Time elapsed: 11,167.532 sec <<< FAILURE! - in org.apache.atlas.discovery.DataSetLineageServiceTest
> setUp(org.apache.atlas.discovery.DataSetLineageServiceTest)  Time elapsed: 11,166.618 sec  <<< FAILURE!
> org.apache.atlas.typesystem.types.ValueConversionException: Cannot convert value '{Id='(type: hive_process, id: <unassigned>)', traits=[ETL], values={startTime=1468254266594, inputs=[(type: hive_table, id: 2e600105-d4a9-4a3a-8f7b-d81fedbf3abc), (type: hive_table, id: 9d71dc2d-4a6a-4365-858c-d7d6c2ab88da)], description=hive query for daily summary, queryGraph=graph, qualifiedName=loadSalesDaily, name=loadSalesDaily, queryId=id, queryText=create table as select , outputs=[(type: hive_table, id: 908a7192-080a-4c59-a6c1-3a75f68b7d37)], endTime=1468254276594, user=John ETL, queryPlan=plan}}' to datatype hive_process
>         at org.apache.atlas.typesystem.types.ClassType.convert(ClassType.java:100)
>         at org.apache.atlas.typesystem.types.ClassType.convert(ClassType.java:46)
>         at org.apache.atlas.typesystem.types.DataTypes$ArrayType.convert(DataTypes.java:495)
>         at org.apache.atlas.typesystem.types.DataTypes$ArrayType.convert(DataTypes.java:464)
>         at org.apache.atlas.typesystem.persistence.StructInstance.set(StructInstance.java:121)
>         at org.apache.atlas.typesystem.types.ClassType.convert(ClassType.java:143)
>         at org.apache.atlas.BaseRepositoryTest.createInstance(BaseRepositoryTest.java:373)
>         at org.apache.atlas.BaseRepositoryTest.loadProcess(BaseRepositoryTest.java:351)
>         at org.apache.atlas.BaseRepositoryTest.setupInstances(BaseRepositoryTest.java:227)
>         at org.apache.atlas.BaseRepositoryTest.setUp(BaseRepositoryTest.java:73)
>         at org.apache.atlas.discovery.DataSetLineageServiceTest.setUp(DataSetLineageServiceTest.java:67){noformat} 



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