[
https://issues.apache.org/jira/browse/ATLAS-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594188#comment-16594188
]
ASF subversion and git services commented on ATLAS-2843:
--------------------------------------------------------
Commit 29de3b3b845d881043c4cd149f3aba7eea9dba20 in atlas's branch
refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=29de3b3 ]
ATLAS-2843: AtlasClient updates for exportData and importData.
> Atlas Client Support for Export & Import APIs: Change Signature to Support
> Streams
> ----------------------------------------------------------------------------------
>
> Key: ATLAS-2843
> URL: https://issues.apache.org/jira/browse/ATLAS-2843
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.8.3
> Reporter: Ashutosh Mestry
> Assignee: Ashutosh Mestry
> Priority: Major
> Fix For: 0.8.3
>
> Attachments:
> ATLAS-2843-AtlasClient-updates-for-exportData-and-im.patch
>
>
> *Background*
> Existing implementation of _AtlasClient.exportData and
> AtlasClient.importData_ converts the stream returned by the REST APIs to
> _byte_ array and then passes it on to the caller.
> In case of _importData_ with absolute file path, it converts it to byte array
> and then writes the bytes to the file.
> This is inefficient from memory perspective and may cause problems on
> client-side if the data is large.
> *Solution*
> * The APIs should return streams.
> * The API that writes file, should implement a version that works with
> streams.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)