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

ASF subversion and git services commented on IMPALA-12185:
----------------------------------------------------------

Commit 4a153792deba2b2861347ec0e016460f7115e0f1 in impala's branch 
refs/heads/master from Laszlo Gaal
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=4a153792d ]

IMPALA-12185: Don't install snappy-devel for Red Hat derivatives

Experimental builds on systems based on Red Hat Linux v8.x revealed that
snappy-devel is installed only for RedHat-based systems in
bin/bootstrap_system.sh (the script that preps a workstation for local
Impala development). The same library was not installed for Ubuntu
variants -- probably because Impala has been using Snappy from the
toolchain for a long time now.

Subsequent tests revealed that the build and dataload phases can
complete successfully on Red Hat Linux v8.6 even in the absence of this
package, so this patch removes the installation of snappy-devel during
system preparation.

Tested by running bin/bootstrap_system.sh on a newly minted private VM
instance running RedHat Linux 8.6, then running
buildall.sh -skiptests -format -testdata
successfully.

Change-Id: I6b14e09fa78d51a387a066eb04495f758430fa9d
Reviewed-on: http://gerrit.cloudera.org:8080/20021
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> bootstrap_system.sh fails to install snappy-devel on Redhat 8.4
> ---------------------------------------------------------------
>
>                 Key: IMPALA-12185
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12185
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.3.0
>         Environment: Red Hat Linux 8.6
>            Reporter: Quanlong Huang
>            Assignee: Laszlo Gaal
>            Priority: Major
>
> Saw bin/bootstrap_system.sh fail in installing snappy-devel:
> {code:java}
> + sudo yum install -y '--enablerepo=[Pp]ower[Tt]ools*' snappy-devel
> Error: Unknown repo: '[Pp]ower[Tt]ools*'{code}
> I'm able to proceed after removing the "enablerepo" option.
> OS info:
> {noformat}
> # cat /etc/os-release 
> NAME="Red Hat Enterprise Linux"
> VERSION="8.4 (Ootpa)"
> ID="rhel"
> ID_LIKE="fedora"
> VERSION_ID="8.4"
> PLATFORM_ID="platform:el8"
> PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)"
> ANSI_COLOR="0;31"
> CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA"
> HOME_URL="https://www.redhat.com/";
> DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/";
> BUG_REPORT_URL="https://bugzilla.redhat.com/";
> REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
> REDHAT_BUGZILLA_PRODUCT_VERSION=8.4
> REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
> REDHAT_SUPPORT_PRODUCT_VERSION="8.4" {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to