chaitali borole created ATLAS-4907:
--------------------------------------

             Summary: 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: 2.1.0, 3.0.0
            Reporter: chaitali borole
            Assignee: chaitali borole


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