You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2018/09/27 05:47:00 UTC

[jira] [Updated] (ATLAS-2897) Import Process: Handle Import of Empty Zip Elegantly

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

Ashutosh Mestry updated ATLAS-2897:
-----------------------------------
    Attachment: ATLAS-2897__Elegant_handling_of_empty_Zip_file_.patch

> Import Process: Handle Import of Empty Zip Elegantly
> ----------------------------------------------------
>
>                 Key: ATLAS-2897
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2897
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>         Attachments: ATLAS-2897__Elegant_handling_of_empty_Zip_file_.patch
>
>
> *Background*
> Existing implementation of _ZipSource_ always assumes that the zip that is being passed has valid data. It starts serializing the data and that is where it encounters serialization error. This case can be handled in a more elegant way.
> *Approach Guidance*
>  * In _ZipSource_ ctor, detect case for empty file, throw error message accordingly.
>  * Handle the case where requested _ZipEntry_ is not found.



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