[ 
https://issues.apache.org/jira/browse/ATLAS-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911341#comment-17911341
 ] 

ASF subversion and git services commented on ATLAS-4907:
--------------------------------------------------------

Commit b49876e898259275cc201e54dbd560e7b5781a3f in atlas's branch 
refs/heads/master from Chaitali Borole
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=b49876e89 ]

ATLAS-4907: Migration status is not updated on file while migration is in 
progress

Signed-off-by: chaitalithombare <chaitalithomb...@apache.org>


> Migration status is not updated on file while migration is in progress
> ----------------------------------------------------------------------
>
>                 Key: ATLAS-4907
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4907
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: chaitali borole
>            Assignee: chaitali borole
>            Priority: Major
>
> Whenever Migration starts and vertex is created for the respective file in 
> progress 
> whenever Migration status is attempted to update it fails with nullpointer 
> exception 
> {code:java}
> 2024-09-18 10:29:04,153 WARN  - [zipFileBasedMigrationImporter:]
>  ~ Error updating status. Please rely on log messages. 
> (DataMigrationStatusService$MigrationStatusVertexManagement:202)
> java.lang.NullPointerException
>         at 
> org.apache.atlas.repository.store.graph.v2.AtlasGraphUtilsV2.setProperty(AtlasGraphUtilsV2.java:250)
>         at 
> org.apache.atlas.repository.store.graph.v2.AtlasGraphUtilsV2.setEncodedProperty(AtlasGraphUtilsV2.java:238)
>         at 
> org.apache.atlas.repository.migration.DataMigrationStatusService$MigrationStatusVertexManagement.updateVertexPartialStatus(DataMigrationStatusService.java:200)
>         at 
> org.apache.atlas.repository.migration.DataMigrationStatusService.setStatus(DataMigrationStatusService.java:119)
>         at 
> org.apache.atlas.repository.store.graph.v2.bulkimport.pc.EntityCreationManager.read(EntityCreationManager.java:57)
>         at 
> org.apache.atlas.repository.store.graph.v2.bulkimport.MigrationImport.run(MigrationImport.java:79)
>         at 
> org.apache.atlas.repository.store.graph.v2.BulkImporterImpl.bulkImport(BulkImporterImpl.java:77)
>         at 
> org.apache.atlas.repository.impexp.ImportService.processEntities(ImportService.java:232)
>         at 
> org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:119)
>         at 
> org.apache.atlas.repository.impexp.ImportService.run(ImportService.java:96)
>         at 
> org.apache.atlas.repository.migration.ZipFileMigrationImporter.performImport(ZipFileMigrationImporter.java:255)
>         at 
> org.apache.atlas.repository.migration.ZipFileMigrationImporter.run(ZipFileMigrationImporter.java:97)
>         at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to