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/05/17 16:24:04 UTC

[jira] [Updated] (ATLAS-1665) Export API: Improve Generated ZIP File Using AtlasEntityWithExtInfo

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

Madhan Neethiraj updated ATLAS-1665:
------------------------------------
    Fix Version/s: 0.8.1-incubating

> Export API: Improve Generated ZIP File Using AtlasEntityWithExtInfo
> -------------------------------------------------------------------
>
>                 Key: ATLAS-1665
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1665
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>             Fix For: 0.9-incubating, 0.8.1-incubating
>
>         Attachments: ATLAS-1665.patch
>
>
> h5.Background
> Existing implementation of Export API w.r.t ZIP file generation adds 1 *.json* file per entity. This makes ZIP file creation inefficient. The ZIP files are 75% larger in size than what could be possible with fewer *.json* file entries.
> h5.Solution
> The implementation uses the new v2 API *AtlasEntityWithExtInfo* representation instead of *AtlasEntity*. This format combines an entity with related entities as one. E.g. *hive_table* will contain all the *hive_columns* that it is made up of. (See example section below.)
> This results in significant reduction of generated *JSON* files. This impacts reduction in generated *ZIP* file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)