You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ab...@apache.org on 2023/02/13 09:50:39 UTC

[tez] branch master updated: TEZ-4471: Precommit fails while building yetus image - upgrade to Ubuntu Jammy LTS (#265) (Laszlo Bodor reviewed by Rajesh Balamohan, Ayush Saxena)

This is an automated email from the ASF dual-hosted git repository.

abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new e236f51ef TEZ-4471: Precommit fails while building yetus image - upgrade to Ubuntu Jammy LTS (#265) (Laszlo Bodor reviewed by Rajesh Balamohan, Ayush Saxena)
e236f51ef is described below

commit e236f51ef16ed8531251d77d8d64e6d508b208c1
Author: Bodor Laszlo <bo...@gmail.com>
AuthorDate: Mon Feb 13 10:50:32 2023 +0100

    TEZ-4471: Precommit fails while building yetus image - upgrade to Ubuntu Jammy LTS (#265) (Laszlo Bodor reviewed by Rajesh Balamohan, Ayush Saxena)
---
 build-tools/docker/Dockerfile | 3 ++-
 tez-ui/pom.xml                | 8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/build-tools/docker/Dockerfile b/build-tools/docker/Dockerfile
index a5f3e537a..3c0f1c127 100644
--- a/build-tools/docker/Dockerfile
+++ b/build-tools/docker/Dockerfile
@@ -24,7 +24,7 @@
 #
 ###############
 
-FROM ubuntu:focal AS tezbase
+FROM ubuntu:jammy AS tezbase
 
 WORKDIR /root
 SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -42,6 +42,7 @@ ENV DEBCONF_TERSE true
 RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
     apt-transport-https \
     apt-utils \
+    bzip2 \
     ca-certificates \
     curl \
     dirmngr \
diff --git a/tez-ui/pom.xml b/tez-ui/pom.xml
index 5b90d6d0f..a9f1e1986 100644
--- a/tez-ui/pom.xml
+++ b/tez-ui/pom.xml
@@ -89,6 +89,10 @@
                   <argument>run</argument>
                   <argument>test:mvn</argument>
                 </arguments>
+                <environmentVariables>
+                  <!-- workaround for systems using a newer OpenSSL (3+) which is incompatible with PhantomJS -->
+                  <OPENSSL_CONF>/dev/null</OPENSSL_CONF>
+                </environmentVariables>
               </configuration>
             </execution>
           </executions>
@@ -147,6 +151,10 @@
                   <argument>run</argument>
                   <argument>test:mvn</argument>
                 </arguments>
+                <environmentVariables>
+                  <!-- workaround for systems using a newer OpenSSL (3+) which is incompatible with PhantomJS -->
+                  <OPENSSL_CONF>/dev/null</OPENSSL_CONF>
+                </environmentVariables>
               </configuration>
             </execution>
           </executions>