[
https://issues.apache.org/jira/browse/ATLAS-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638979#comment-16638979
]
ASF subversion and git services commented on ATLAS-2897:
--------------------------------------------------------
Commit 4b8be64e7f611f3638614bc9648c116b316b8521 in atlas's branch
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=4b8be64 ]
ATLAS-2897: Better handling of empty zip files. Unit test fix.
> 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-Better-handling-of-empty-zip-files.3.patch,
> ATLAS-2897-Elegant-handling-of-empty-zip-files.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)