atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Mestry (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ATLAS-2560) Import of atlas data with lineage fails with NoSuchElementException
Date Fri, 13 Apr 2018 16:14:00 GMT

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

Ashutosh Mestry reassigned ATLAS-2560:
--------------------------------------

    Assignee: Ashutosh Mestry

> Import of atlas data with lineage fails with NoSuchElementException
> -------------------------------------------------------------------
>
>                 Key: ATLAS-2560
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2560
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Sarath Subramanian
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: applicaton.log, exportLineageData.zip
>
>
> Created a hive_table and view from beeline client:
> {{create database hr; use hr;}}
> {{create table employees(name string, age int);}}
> {{create view us_employees as select * from employees;}}
>  
> *Exported the data using:*
> {{curl -X POST -u admin:admin -H "Content-Type: application/json" -d '{"itemsToExport":[\{"typeName":"hive_db","uniqueAttributes":{"name":"hr"}}],"options":{"fetchType":"FULL"}}'
"http://localhost:21000/api/atlas/admin/export" > /root/exportLineageData.zip}}
> *Flushed the DB and tried to import back the data exported using:*
> {{curl -X POST -u admin:admin -H "Content-Type: multipart/form-data" -F data=@/root/exportLineageData.zip
"http://localhost:21000/api/atlas/admin/import"}}
>  
> Import failed with the following error:
> {"errorCode":"ATLAS-500-00-001","errorMessage":"org.apache.atlas.exception.AtlasBaseException:
java.util.NoSuchElementException","errorCause":"java.util.NoSuchElementException"}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message