Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4907

Migration status is not updated on file while migration is in progress

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.1.0, 3.0.0
    • None
    • atlas-core
    • None

    Description

      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

      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)
      

      Attachments

        Activity

          People

            chaitali chaitali borole
            chaitali chaitali borole
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: