[
https://issues.apache.org/jira/browse/IMPALA-10262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834602#comment-17834602
]
ASF subversion and git services commented on IMPALA-10262:
----------------------------------------------------------
Commit 8e9c5a5d17dbcb275653d6e10b9dc719b965ed5d in impala's branch
refs/heads/branch-3.4.2 from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8e9c5a5d1 ]
IMPALA-10262: RPM/DEB Packaging Support
This patch bases on a previous patch contributed by Shant Hovsepian:
https://gerrit.cloudera.org/c/16612/
It adds a new option, -package, to buildall.sh for building a package
for the current OS type (e.g. CentOS/Ubuntu). You can also use
"make/ninja package" to build the package. Scripts for launching the
services and the required configuration files are also added.
Tests:
- Built on Ubuntu 18.04/20.04 and CentOS 7 using
./buildall.sh -noclean -skiptests -release -package
- Deployed the RPM package on a CDP cluster. Verifed the scripts.
- Deployed the DEB package on a docker container. Verified the scripts.
Resolved trivial backport conflicts in:
- CMakeLists.txt
- bin/bootstrap_system.sh
- bin/jenkins/build-all-flag-combinations.sh
- buildall.sh
- docker/install_os_packages.sh
Non-trivial backport notes:
CMake function cmake_host_system_information does not recognize keys of
DISTRIB_ID and DISTRIB_VERSION_ID (required version >= 3.22). Currently
version used in branch-3.4 is 3.14.3. Details to remove using them:
- One usage of DISTRIB_ID is to skip packaging impala-shell on redhat8.
Removes it since redhat8 is not supported on branch-3.4.
- Another usage of DISTRIB_ID is to determine the package file type
(DEB vs RPM) based on the OS. Replaces it with content of the
os-release files.
- Removes the usage of OS_DISTRIB_VERSION_ID in the package file name
Tests:
- Built on Ubuntu 18.04
Change-Id: I64419fd400fe8d233dac016b6306157fe9461d82
Reviewed-on: http://gerrit.cloudera.org:8080/18939
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-on: http://gerrit.cloudera.org:8080/21130
Tested-by: Quanlong Huang <[email protected]>
Reviewed-by: Zihao Ye <[email protected]>
> Linux Packaging Support
> -----------------------
>
> Key: IMPALA-10262
> URL: https://issues.apache.org/jira/browse/IMPALA-10262
> Project: IMPALA
> Issue Type: New Feature
> Components: Infrastructure
> Reporter: Shant Hovsepian
> Assignee: Quanlong Huang
> Priority: Major
> Fix For: Impala 4.3.0
>
>
> Would be nice if we could easily make installation packages from the Impala
> source code. For example RPM or DEB packages.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]