Sharmadha S created ATLAS-4835:
----------------------------------

             Summary: Export/Import : When table with ozone path is exported as 
"connected" , only ozone key is exported.
                 Key: ATLAS-4835
                 URL: https://issues.apache.org/jira/browse/ATLAS-4835
             Project: Atlas
          Issue Type: Bug
            Reporter: Sharmadha S


Export/Import : When table with ozone path is exported as "connected" , only 
ozone key is exported. Other ozone entities like ozone volume, ozone bucket are 
not exported.

Create ozone entities:

bucket : ozone sh bucket create o3://ozone1708410992/volume-soilu/bucket-soilu

volume: ozone sh volume create o3://ozone1708410992/volume-soilu --user root

 

Hive Query :

"create EXTERNAL table table_oz_soilu (id int, name string) location 
'ofs://ozone1708410992/volume-soilu/bucket-soilu/table_soilu'"

Export zip contents:

cat atlas-export-order.json | python -m json.tool
[
    "49def461-d982-4a23-b524-e75e2a73c16c", - table 
    "1e7e5937-8cc7-4bb5-b91e-8cb111e7e2a8",  -  default db 
    "5d72d5cf-8a45-4f59-b06e-b6680096739f", - hdfs_path
    "99613cbf-39e0-42b6-9bd5-e8965fe04d32", - hive_process
    "937f640a-7337-4787-b746-58477412f98c" - ozone_key
]

Expected ozone bucket , ozone volume also in zip. When fetch type is full , 
incremental , the ozone bucket , ozone volume  are also exported



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to