You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smengcl (via GitHub)" <gi...@apache.org> on 2024/09/05 20:54:07 UTC
Re: [PR] HDDS-11347. Add rocks_tools_native lib check in Ozone CLI checknative subcommand [ozone]
smengcl commented on code in PR #7101:
URL: https://github.com/apache/ozone/pull/7101#discussion_r1746145980
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/checknative/CheckNative.java:
##########
@@ -50,12 +56,25 @@ public Void call() throws Exception {
isalDetail = ErasureCodeNative.getLibraryName();
isalLoaded = true;
}
-
}
System.out.println("Native library checking:");
System.out.printf("hadoop: %b %s%n", nativeHadoopLoaded,
hadoopLibraryName);
System.out.printf("ISA-L: %b %s%n", isalLoaded, isalDetail);
+
+ // Attempt to load the rocks tools lib
+ try {
+ ManagedRawSSTFileReader.loadLibrary();
Review Comment:
Good idea. Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org