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

SnapshotDiffManager prints ERROR for NativeLibraryNotLoadedException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Snapshot
    • None

    Description

      Not sure how important of the NativeLibraryNotLoadedException. Keep seeing the following ERROR in the OM log. If it is important, it should throw the exception out and stop OM; otherwise, change it to WARN and consider not printing the stack trace.

      024-09-24 23:02:20,241 ERROR [main]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Native Library for raw sst file reading loading failed.
      org.apache.hadoop.hdds.utils.NativeLibraryNotLoadedException: Unable to load library ozone_rocksdb_tools from both java.library.path & resource file libozone_rocksdb_tools.so from jar.
              at org.apache.hadoop.hdds.utils.db.managed.ManagedRawSSTFileReader.loadLibrary(ManagedRawSSTFileReader.java:40)
              at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.initNativeLibraryForEfficientDiff(SnapshotDiffManager.java:292)
              at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.<init>(SnapshotDiffManager.java:266)
              at org.apache.hadoop.ozone.om.OmSnapshotManager.<init>(OmSnapshotManager.java:278)
              at org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:847)
              at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:674)
              at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:759)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:189)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:86)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:74)
              at org.apache.hadoop.hdds.cli.GenericCli.call(GenericCli.java:38)
              ...
              at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:91)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:58)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: