[
https://issues.apache.org/jira/browse/HDFS-16304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440012#comment-17440012
]
Gautham Banasandra commented on HDFS-16304:
-------------------------------------------
I've root caused this issue -
It seems like this kind of find_library is needed by debian based systems
(somehow the rest of the nix platforms are happy without this) -
{code}
find_library(OPENSSL_LIBRARY NAMES ${OPENSSL_NAME})
{code}
Since this is missing in the current trunk (as of this writing), compilation
fails for trunk on Debian 10 -
!screenshot-1.png!
Since this PR restores the line, compilation succeeds when the PR is applied on
the trunk on Debian 10 -
!screenshot-2.png!
Please note that, for any given PR, Yetus first checks out the trunk, compiles
it, cherry-picks the PR on top of trunk and does another compilation. This is
done to detect any warnings that PRs might introduce. The run for Ubuntu Focal
didn't happen since the run on Debian 10 failed.
In summary, the PR associated with this JIRA should fix the issue.
> Locate OpenSSL libs for libhdfspp
> ---------------------------------
>
> Key: HDFS-16304
> URL: https://issues.apache.org/jira/browse/HDFS-16304
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build, hdfs-client, native
> Affects Versions: 3.4.0
> Environment: Linux 5.13.0-1005-gcp #6-Ubuntu SMP Fri Oct 8 15:14:43
> UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Sangjin Lee
> Assignee: Gautham Banasandra
> Priority: Major
> Labels: pull-request-available
> Attachments: build_failure.txt, screenshot-1.png, screenshot-2.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The Docker build usingĀ {{start-build-env.sh}} is failing since commit
> 1032724. It can be reproduced with a minimal Ubuntu image and by running
> {{mvn clean install -Pnative -DskipTests -DskipShade
> -Dmaven.javadoc.skip=true}} inside the Docker container via
> {{start-build-env.sh}}.
> The regression was introduced by HDFS-16300 where it removed the line
> {{find_library(OPENSSL_LIBRARY NAMES ${OPENSSL_NAME})}}
> I suspect the CI didn't catch it because of the base image the CI runs with?
> I'm not 100% certain how real this build issue is, but according to
> {{BUILDING.txt}}, a base Ubuntu image should be able to build Hadoop using
> {{start-build-env.sh}}, and that's now broken.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]