You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2021/03/29 05:22:00 UTC

[jira] [Commented] (HADOOP-17609) Make SM4 support optional for OpenSSL native code

    [ https://issues.apache.org/jira/browse/HADOOP-17609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310426#comment-17310426 ] 

Masatake Iwasaki commented on HADOOP-17609:
-------------------------------------------

{noformat}
$ openssl enc -ciphers | grep -i sm4

$ rpm -q openssl-devel
openssl-devel-1.1.1g-12.el8_3.x86_64

$ bin/hadoop checknative
2021-03-29 04:52:27,019 INFO bzip2.Bzip2Factory: Successfully loaded & initialized native-bzip2 library system-native
2021-03-29 04:52:27,022 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library
2021-03-29 04:52:27,145 INFO nativeio.NativeIO: The native code was built without PMDK support.
Native library checking:
hadoop:  true /home/centos/dist/hadoop-3.4.0-SNAPSHOT/lib/native/libhadoop.so.1.0.0
zlib:    true /lib64/libz.so.1
zstd  :  true /lib64/libzstd.so.1
bzip2:   true /lib64/libbz2.so.1
openssl: false Cannot find AES-CTR/SM4-CTR support, is your version of Openssl new enough?
ISA-L:   true /lib64/libisal.so.2
PMDK:    false The native code was built without PMDK support.
{noformat}


> Make SM4 support optional for OpenSSL native code
> -------------------------------------------------
>
>                 Key: HADOOP-17609
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17609
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: native
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Major
>
> openssl-devel-1.1.1g provided by CentOS 8 does not work after HDFS-15098 because the SM4 is not enabled on the openssl package. We should not force users to install OpenSSL from source code even if they do not use SM4 feature.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org