myskov opened a new pull request, #5238:
URL: https://github.com/apache/ozone/pull/5238

   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9230
   
   ## How was this patch tested?
   
   added a unit test for a case where native libs are not provided. Other cases 
are tricky to mock so I did manual testing:
   
   Native libs not provided:
   `$ ozone checknative
   Native library checking:
   hadoop:  false
   ISA-L:   false`
   
   Only hadooplib is provided:
   `$ ozone checknative
   Native library checking:
   hadoop:  true /root/lib/libhadoop.so
   ISA-L:   false Loading ISA-L failed: Failed to load libisal.so.2 
(libisal.so.2: cannot open shared object file: No such file or directory)` 
   
   Hadooplib and isa-l are provided:
   `$ ozone checknative
   Native library checking:
   hadoop:  true /root/lib/libhadoop.so
   ISA-L:   true /lib64/libisal.so.2`


-- 
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