Support Questions

Find answers, ask questions, and share your expertise

Atlas import is failing : HDP to CDP

avatar
Expert Contributor

Hi All,

 

We are in process of migrating HDP cluster to CDP. As we would like to retain Atlas lineage in CDP from HDP, we have exported them from HDP cluster which gave us a .zip file. Extracted it and remediated the contents of .json files to match the CDP cluster name and server names, then zipped it back to a new_name.zip file.

 

Now when running Atlas import API command to import remediated Atlas data to CDP Atlas, we are getting below error for most of the Atlas imports. 

{"errorCode":"ATLAS-404-00-007","errorMessage":"Invalid instance creation/updation parameters passed : type_name.entity_name: mandatory attribute value missing in type type_name"}

 

Also, have some more errors, which certainly need to be looked into but not super priority.

{"errorCode":"ATLAS-400-00-08A","errorMessage":"Attempting to import empty ZIP file."}:

{"errorCode":"ATLAS-500-00-001","errorMessage":"java.lang.NullPointerException","errorCause":null}

 

Having tried to figure this out since a week, but still no luck.

 

Any suggestions / guidance will be really helpful.

 

Thanks

snm1523

1 REPLY 1

avatar
Expert Contributor

Error Code: ATLAS-404-00-007

Invalid instance creation/updation parameters passed: type_name.entity_name: mandatory attribute value missing in type type_name."

This error indicates that when creating or updating an entity (likely in Apache Atlas or a similar system), a required attribute value for that entity is missing or not provided. Specifically, the entity's type (indicated as type_name.entity_name) is missing a mandatory attribute value defined for that type.

Error Code: ATLAS-400-00-08A
This error typically occurs when you're trying to upload or import a ZIP file that is either empty or does not contain any valid data.

Verify that the ZIP file you're attempting to upload actually contains data. Check the contents of the file and ensure that it's not empty. If it should contain data, try recreating the ZIP file or ensure it's properly packaged before importing.