[ 
https://issues.apache.org/jira/browse/HDDS-13266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDDS-13266:
-----------------------------------
    Description: 
hadoop checknative command verifies that openssl lib is loaded:
{noformat}
$ hadoop checknative
25/06/14 01:04:50 INFO bzip2.Bzip2Factory: Successfully loaded & initialized 
native-bzip2 library system-native
25/06/14 01:04:50 INFO zlib.ZlibFactory: Successfully loaded & initialized 
native-zlib library
25/06/14 01:04:50 WARN erasurecode.ErasureCodeNative: ISA-L support is not 
available in your platform... using builtin-java codec where applicable
Native library checking:
hadoop:  true 
/opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libhadoop.so.1.0.0
zlib:    true /lib64/libz.so.1
zstd  :  true 
/opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libzstd.so.1
bzip2:   true /lib64/libbz2.so.1
openssl: true /lib64/libcrypto.so
ISA-L:   false libhadoop was built without ISA-L support
{noformat}
But we don't have that for 'ozone checknative' command. Ensuring openssl lib in 
the path is important for the performance of Ozone TDE. So let's add that 
capability. We can copy the code from Hadoop's NativeLibraryChecker to Ozone's 
CheckNative.

  was:
hadoop checknative command verifies that openssl lib is loaded:
{noformat}
$ hadoop checknative
25/06/14 01:04:50 INFO bzip2.Bzip2Factory: Successfully loaded & initialized 
native-bzip2 library system-native
25/06/14 01:04:50 INFO zlib.ZlibFactory: Successfully loaded & initialized 
native-zlib library
25/06/14 01:04:50 WARN erasurecode.ErasureCodeNative: ISA-L support is not 
available in your platform... using builtin-java codec where applicable
Native library checking:
hadoop:  true 
/opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libhadoop.so.1.0.0
zlib:    true /lib64/libz.so.1
zstd  :  true 
/opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libzstd.so.1
bzip2:   true /lib64/libbz2.so.1
openssl: true /lib64/libcrypto.so
ISA-L:   false libhadoop was built without ISA-L support
{noformat}
But we don't have that for 'ozone checknative' command. Ensuring openssl lib in 
the path is important for the performance of Ozone TDE. So let's add that 
capability. We can copy the code from Hadoop's NativeLibraryChecker to Ozone's 
CheckNative.


> ozone checknative command to add openssl lib check
> --------------------------------------------------
>
>                 Key: HDDS-13266
>                 URL: https://issues.apache.org/jira/browse/HDDS-13266
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Wei-Chiu Chuang
>            Priority: Major
>
> hadoop checknative command verifies that openssl lib is loaded:
> {noformat}
> $ hadoop checknative
> 25/06/14 01:04:50 INFO bzip2.Bzip2Factory: Successfully loaded & initialized 
> native-bzip2 library system-native
> 25/06/14 01:04:50 INFO zlib.ZlibFactory: Successfully loaded & initialized 
> native-zlib library
> 25/06/14 01:04:50 WARN erasurecode.ErasureCodeNative: ISA-L support is not 
> available in your platform... using builtin-java codec where applicable
> Native library checking:
> hadoop:  true 
> /opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libhadoop.so.1.0.0
> zlib:    true /lib64/libz.so.1
> zstd  :  true 
> /opt/cloudera/parcels/CDH-7.3.1-1.cdh7.3.1.p0.60371244/lib/hadoop/lib/native/libzstd.so.1
> bzip2:   true /lib64/libbz2.so.1
> openssl: true /lib64/libcrypto.so
> ISA-L:   false libhadoop was built without ISA-L support
> {noformat}
> But we don't have that for 'ozone checknative' command. Ensuring openssl lib 
> in the path is important for the performance of Ozone TDE. So let's add that 
> capability. We can copy the code from Hadoop's NativeLibraryChecker to 
> Ozone's CheckNative.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to