Ashutosh Mestry created ATLAS-2843: -------------------------------------- Summary: 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 Fix For: 0.8.3
*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)