[
https://issues.apache.org/jira/browse/HADOOP-19636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18015895#comment-18015895
]
ASF GitHub Bot commented on HADOOP-19636:
-----------------------------------------
slfan1989 commented on code in PR #7822:
URL: https://github.com/apache/hadoop/pull/7822#discussion_r2297261130
##########
dev-support/Jenkinsfile:
##########
@@ -113,144 +113,6 @@ pipeline {
}
}
- // This is an optional stage which runs only when there's a change in
- // C++/C++ build/platform.
- // This stage serves as a means of cross platform validation, which is
- // really needed to ensure that any C++ related/platform change doesn't
- // break the Hadoop build on Centos 7.
- stage ('precommit-run Centos 7') {
- environment {
- SOURCEDIR = "${WORKSPACE}/centos-7/src"
- PATCHDIR = "${WORKSPACE}/centos-7/out"
- DOCKERFILE =
"${SOURCEDIR}/dev-support/docker/Dockerfile_centos_7"
- IS_OPTIONAL = 1
- }
-
- steps {
- withCredentials(getGithubCreds()) {
- sh '''#!/usr/bin/env bash
-
- chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh"
- "${SOURCEDIR}/dev-support/jenkins.sh" run_ci
- '''
- }
- }
-
- post {
- // Since this is an optional platform, we want to copy the
artifacts
- // and archive it only if the build fails, to help with
debugging.
- failure {
- sh '''#!/usr/bin/env bash
-
- cp -Rp "${WORKSPACE}/centos-7/out" "${WORKSPACE}"
- '''
- archiveArtifacts "out/**"
- }
-
- cleanup() {
- script {
- sh '''#!/usr/bin/env bash
-
- chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh"
- "${SOURCEDIR}/dev-support/jenkins.sh" cleanup_ci_proc
- '''
- }
- }
- }
- }
-
- // This is an optional stage which runs only when there's a change in
- // C++/C++ build/platform.
- // This stage serves as a means of cross platform validation, which is
- // really needed to ensure that any C++ related/platform change doesn't
- // break the Hadoop build on Centos 8.
- stage ('precommit-run Centos 8') {
Review Comment:
Thank you for your suggestion! We will continue to retain CentOS 8 and plan
to upgrade to Rocky Linux 8 in the future.
> [JDK17] [JDK17] Remove CentOS 7 Support and Clean Up Dockerfile.
> -----------------------------------------------------------------
>
> Key: HADOOP-19636
> URL: https://issues.apache.org/jira/browse/HADOOP-19636
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
>
> Removed build support for the following EOL (End-of-Life) operating system
> versions (e.g., CentOS 7, Debian 9, etc.).
> Cleaned up redundant code and dependency configurations in the Dockerfile
> related to these operating systems.
> Optimized the build logic to ensure that currently supported OS versions
> build successfully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]