hemantk-12 commented on code in PR #5719:
URL: https://github.com/apache/ozone/pull/5719#discussion_r1422136476


##########
hadoop-hdds/rocks-native/src/main/java/org/apache/hadoop/hdds/utils/db/managed/PipeInputStream.java:
##########
@@ -43,7 +39,8 @@ public class PipeInputStream extends InputStream {
   private AtomicBoolean cleanup;
 
   PipeInputStream(int capacity) throws NativeLibraryNotLoadedException {
-    if (!NativeLibraryLoader.isLibraryLoaded(ROCKS_TOOLS_NATIVE_LIBRARY_NAME)) 
{
+    if (!NativeLibraryLoader.getInstance()

Review Comment:
   qq: do we need to load lib again here or check? Isn't it not enough loading 
it as part of ManagedSSTDumpTool instantiation?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to