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] [Commented] (ATLAS-1665) Export API: Improve Generated ZIP File Using AtlasEntityWithExtInfo
Date Fri, 17 Mar 2017 18:50:41 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930478#comment-15930478
] 

Ashutosh Mestry commented on ATLAS-1665:
----------------------------------------

Improvement in size is ~65%. Please see code review item for implementation details.

> 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: trunk
>
>         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)

Mime
View raw message