[
https://issues.apache.org/jira/browse/HDFS-15929?focusedWorklogId=573611&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-573611
]
ASF GitHub Bot logged work on HDFS-15929:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Mar/21 17:24
Start Date: 29/Mar/21 17:24
Worklog Time Spent: 10m
Work Description: goiri commented on pull request #2826:
URL: https://github.com/apache/hadoop/pull/2826#issuecomment-809561959
How come we still see:
```
[WARNING]
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-2826/src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_engine.cc:126:40:
warning: 'int RAND_pseudo_bytes(unsigned char*, int)' is deprecated
[-Wdeprecated-declarations]
[WARNING] from
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-2826/src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_engine.cc:18:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
[WARNING]
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-2826/src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_engine.cc:126:40:
warning: 'int RAND_pseudo_bytes(unsigned char*, int)' is deprecated
[-Wdeprecated-declarations]
[WARNING] from
/home/jenkins/jenkins-agent/workspace/hadoop-multibranch_PR-2826/src/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/rpc/rpc_engine.cc:18:
[WARNING] /usr/include/openssl/rand.h:44:1: note: declared here
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 573611)
Time Spent: 1h (was: 50m)
> Replace RAND_pseudo_bytes in util.cc
> ------------------------------------
>
> Key: HDFS-15929
> URL: https://issues.apache.org/jira/browse/HDFS-15929
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: libhdfs++
> Affects Versions: 3.4.0
> Reporter: Gautham Banasandra
> Assignee: Gautham Banasandra
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> RAND_pseudo_bytes was deprecated in OpenSSL 1.1.1. We get the following
> warning during compilation that it's deprecated -
> {code}
> /mnt/c/Users/Gautham/projects/apache/wsl/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:
> In function ‘std::string hdfs::GetRandomClientName()’:
> /mnt/c/Users/Gautham/projects/apache/wsl/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:78:31:
> warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated
> [-Wdeprecated-declarations]
> 78 | RAND_pseudo_bytes(&buf[0], 8);
> | ^
> In file included from /usr/include/openssl/e_os2.h:13,
> from /usr/include/openssl/ossl_typ.h:19,
> from /usr/include/openssl/rand.h:14,
> from
> /mnt/c/Users/Gautham/projects/apache/wsl/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.h:29,
> from
> /mnt/c/Users/Gautham/projects/apache/wsl/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:19:
> /usr/include/openssl/rand.h:44:1: note: declared here
> 44 | DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
> | ^~~~~~~~~~~~~~~~~~
> /mnt/c/Users/Gautham/projects/apache/wsl/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/common/util.cc:78:31:
> warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated
> [-Wdeprecated-declarations]
> 78 | RAND_pseudo_bytes(&buf[0], 8);
> | ^
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]