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

Ashutosh Mestry resolved ATLAS-2843.
------------------------------------
    Resolution: Fixed

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

Reply via email to