-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73585/#review223550
-----------------------------------------------------------



User specifies:
atlas.migration.data.filename=/tmp/atlas-data/golden-?-of-2-atlas.zip

The directory contains:
golden-1-of-2-atlas.zip
golden-2-of-2-atlas.zip


Algo:
- RW permissions for /tmp/atlas-data/archive.
  - If permissions exist, sucessfully imported files are moved to archive 
directory.
  - If not, LOG.WARN is displayed. Implication of this is the subsequent 
startup in migration mode will restart import from the beginning. 
- - Wildcard gets expanded.
- Files are enumerated.
- They are sequentially fed to the importer.
- Successful files are moved to /tmp/atlas-data/archive folder.

- Ashutosh Mestry


On Sept. 23, 2021, 3:52 a.m., Sidharth Mishra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73585/
> -----------------------------------------------------------
> 
> (Updated Sept. 23, 2021, 3:52 a.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Disha Talreja, Radhika Kundam, and 
> Sarath Subramanian.
> 
> 
> Bugs: ATLAS-4425
>     https://issues.apache.org/jira/browse/ATLAS-4425
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> ATLAS-442: Added support for Migration import to run on a directory with 
> multip[le zip files
> 
> 
> Diffs
> -----
> 
>   
> repository/src/main/java/org/apache/atlas/repository/impexp/ZipSourceDirect.java
>  04342fa52 
>   
> repository/src/main/java/org/apache/atlas/repository/migration/DataMigrationService.java
>  0a2257eae 
>   
> repository/src/main/java/org/apache/atlas/repository/migration/ZipFileMigrationImporter.java
>  d56261f78 
> 
> 
> Diff: https://reviews.apache.org/r/73585/diff/2/
> 
> 
> Testing
> -------
> 
> Manually tested with multiple zip files at a location which was imported 
> successfully.
> 
> 
> Thanks,
> 
> Sidharth Mishra
> 
>

Reply via email to