This is an automated email from the ASF dual-hosted git repository.
zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 1760304401f HIVE-27999: Run Sonar analysis using Java 17 (Wechar Yu
reviewed by Stamatis Zampetakis, Attila Turoczy)
1760304401f is described below
commit 1760304401ff65d2f1fd7276d8a2bc241babb18a
Author: wecharyu <[email protected]>
AuthorDate: Mon Jan 15 06:24:33 2024 +0000
HIVE-27999: Run Sonar analysis using Java 17 (Wechar Yu reviewed by
Stamatis Zampetakis, Attila Turoczy)
1. Use executor image built from
https://github.com/kgyrtkirk/hive-dev-box/commit/c67d8af69b869bab1ccc7013a8bccec2b2410518
with JDK 17 support
2. Remove unecessary ping
Close apache/hive#5004
---
Jenkinsfile | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 0f99c42cc4a..fc11bb3299e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -112,7 +112,7 @@ def sonarAnalysis(args) {
"""+args+" -DskipTests -Dit.skipTests -Dmaven.javadoc.skip"
sh """#!/bin/bash -e
- sw java 11 && . /etc/profile.d/java.sh
+ sw java 17 && . /etc/profile.d/java.sh
export MAVEN_OPTS=-Xmx5G
"""+mvnCmd
}
@@ -121,7 +121,7 @@ def sonarAnalysis(args) {
def hdbPodTemplate(closure) {
podTemplate(
containers: [
- containerTemplate(name: 'hdb', image: 'kgyrtkirk/hive-dev-box:executor',
ttyEnabled: true, command: 'tini -- cat',
+ containerTemplate(name: 'hdb', image: 'wecharyu/hive-dev-box:executor',
ttyEnabled: true, command: 'tini -- cat',
alwaysPullImage: true,
resourceRequestCpu: '1800m',
resourceLimitCpu: '8000m',
@@ -287,7 +287,6 @@ set -x
echo 127.0.0.1 dev_$dbType | sudo tee -a /etc/hosts
. /etc/profile.d/confs.sh
sw hive-dev $PWD
-ping -c2 dev_$dbType
export DOCKER_NETWORK=host
export DBNAME=metastore
reinit_metastore $dbType