Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9712

[snapshot] IllegalArgumentException encountered when generating snapshotDiff report between 2 snapshots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Snapshot

    Description

      IllegalArgumentException encountered when generating snapshotDiff report between 2 snapshots

      OM Log error stacktrace :

      2023-11-16 22:54:02,685 INFO [IPC Server handler 9 on 9862]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Submitting snap diff report generation request for volume: voly6zr4, bucket: buckety6zr4, fromSnapshot: snap-r2gac and toSnapshot: snap-ohtc8
      2023-11-16 22:54:02,685 INFO [snapshot-diff-job-thread-id-11]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Started snap diff report generation for volume: 'voly6zr4', bucket: 'buckety6zr4', fromSnapshot: 'snap-r2gac', toSnapshot: 'snap-ohtc8'
      2023-11-16 22:54:02,686 INFO [snapshot-diff-job-thread-id-11]-org.apache.hadoop.ozone.om.snapshot.SnapshotCache: Loading snapshot. Table key: /voly6zr4/buckety6zr4/snap-r2gac
      2023-11-16 22:54:02,686 INFO [snapshot-diff-job-thread-id-11]-org.apache.hadoop.ozone.om.snapshot.SnapshotCache: Loading snapshot. Table key: /voly6zr4/buckety6zr4/snap-ohtc8
      2023-11-16 22:54:02,717 ERROR [snapshot-diff-job-thread-id-11]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Caught unchecked exception during diff report generation for volume: voly6zr4 bucket: buckety6zr4, fromSnapshot: snap-r2gac and toSnapshot: snap-ohtc8
      java.lang.IllegalArgumentException: Dir object Ids required but not found in bucket: [-9223372036853486845, -9223372036853486846, -9223372036853480191, -9223372036853481215, -9223372036853482751, -9223372036853484799, -9223372036853485311, -9223372036853486847, -9223372036853505791, -9223372036853506303, -9223372036853486842, -9223372036853486843, -9223372036853486844]
              at org.apache.hadoop.ozone.om.snapshot.FSODirectoryPathResolver.getAbsolutePathForObjectIDs(FSODirectoryPathResolver.java:104)
              at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.lambda$5(SnapshotDiffManager.java:981)
              at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.generateSnapshotDiffReport(SnapshotDiffManager.java:1014)
              at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.lambda$2(SnapshotDiffManager.java:741)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:834) 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jyosin Jyotirmoy Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: