Skip to content

Commit 00134f8

Browse files
authored
Merge branch 'master' into TEZ-4214_RoaringBitmap
2 parents 54cff40 + b31501d commit 00134f8

242 files changed

Lines changed: 5293 additions & 2949 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.asf.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
github:
18+
description: "Apache Tez"
19+
homepage: https://tez.apache.org/
20+
labels:
21+
- tez
22+
- java
23+
- apache
24+
- big-data
25+
- hadoop
26+
features:
27+
wiki: false
28+
issues: false
29+
projects: false
30+
enabled_merge_buttons:
31+
squash: true
32+
merge: false
33+
rebase: false
34+
notifications:
35+
commits: commits@tez.apache.org
36+
issues: issues@tez.apache.org
37+
pullrequests: issues@tez.apache.org
38+
jira_options: link label worklog

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
dist: trusty
18+
1719
language: java
1820

1921
sudo: required
2022

2123
env: MAVEN_OPTS="-Xmx2G -XX:MaxPermSize=512M"
2224

23-
jdk:
24-
- oraclejdk8
25-
2625
before_install:
2726
- ./build-tools/install-protobuf.sh
2827

2928
script:
29+
- jdk_switcher use oraclejdk8
3030
- mvn -B clean install package -DskipTests=true -Dmaven.javadoc.skip=true
3131

BUILDING.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ Issue with PhantomJS on building in PowerPC.
104104
please try installing PhantomJS manually and rerun. Refer https://github.com/ibmsoe/phantomjs-1/blob/v2.1.1-ppc64/README.md
105105
and install it globally for the build to work.
106106

107+
----------------------------------------------------------------------------------
108+
Skip UI build:
109+
110+
In case you want to completely skip UI build, you can use 'noui' profile.
111+
For instance, a full build without tests and tez-ui looks like:
112+
113+
$ mvn clean install -DskipTests -Pnoui
114+
115+
It's important to note that maven will still include tez-ui project, but all of the maven plugins are skipped.
116+
107117
----------------------------------------------------------------------------------
108118
Protocol Buffer compiler:
109119

Jenkinsfile

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
// Licensed to the Apache Software Foundation (ASF) under one
2+
// or more contributor license agreements. See the NOTICE file
3+
// distributed with this work for additional information
4+
// regarding copyright ownership. The ASF licenses this file
5+
// to you under the Apache License, Version 2.0 (the
6+
// "License"); you may not use this file except in compliance
7+
// with the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing,
12+
// software distributed under the License is distributed on an
13+
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
// KIND, either express or implied. See the License for the
15+
// specific language governing permissions and limitations
16+
// under the License.
17+
18+
pipeline {
19+
20+
agent {
21+
label 'Hadoop'
22+
}
23+
24+
options {
25+
buildDiscarder(logRotator(numToKeepStr: '5'))
26+
timeout (time: 20, unit: 'HOURS')
27+
timestamps()
28+
checkoutToSubdirectory('src')
29+
}
30+
31+
environment {
32+
SOURCEDIR = 'src'
33+
// will also need to change notification section below
34+
PATCHDIR = 'out'
35+
DOCKERFILE = "${SOURCEDIR}/build-tools/docker/Dockerfile"
36+
YETUS='yetus'
37+
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
38+
YETUS_VERSION='rel/0.12.0'
39+
40+
}
41+
42+
parameters {
43+
string(name: 'JIRA_ISSUE_KEY',
44+
defaultValue: '',
45+
description: 'The JIRA issue that has a patch needing pre-commit testing. Example: HADOOP-1234')
46+
}
47+
48+
stages {
49+
stage ('install yetus') {
50+
steps {
51+
dir("${WORKSPACE}/${YETUS}") {
52+
checkout([
53+
$class: 'GitSCM',
54+
branches: [[name: "${env.YETUS_VERSION}"]],
55+
userRemoteConfigs: [[ url: 'https://github.com/apache/yetus']]]
56+
)
57+
}
58+
}
59+
}
60+
61+
stage ('precommit-run') {
62+
steps {
63+
withCredentials(
64+
[usernamePassword(credentialsId: 'apache-hadoop-at-github.zerozr99.workers.dev',
65+
passwordVariable: 'GITHUB_TOKEN',
66+
usernameVariable: 'GITHUB_USER'),
67+
usernamePassword(credentialsId: 'tez-ci',
68+
passwordVariable: 'JIRA_PASSWORD',
69+
usernameVariable: 'JIRA_USER')]) {
70+
sh '''#!/usr/bin/env bash
71+
72+
set -e
73+
74+
TESTPATCHBIN="${WORKSPACE}/${YETUS}/precommit/src/main/shell/test-patch.sh"
75+
76+
# this must be clean for every run
77+
if [[ -d "${WORKSPACE}/${PATCHDIR}" ]]; then
78+
rm -rf "${WORKSPACE}/${PATCHDIR}"
79+
fi
80+
mkdir -p "${WORKSPACE}/${PATCHDIR}"
81+
82+
# if given a JIRA issue, process it. If CHANGE_URL is set
83+
# (e.g., Github Branch Source plugin), process it.
84+
# otherwise exit, because we don't want Hadoop to do a
85+
# full build. We wouldn't normally do this check for smaller
86+
# projects. :)
87+
if [[ -n "${JIRA_ISSUE_KEY}" ]]; then
88+
YETUS_ARGS+=("${JIRA_ISSUE_KEY}")
89+
elif [[ -z "${CHANGE_URL}" ]]; then
90+
echo "Full build skipped" > "${WORKSPACE}/${PATCHDIR}/report.html"
91+
exit 0
92+
fi
93+
94+
YETUS_ARGS+=("--patch-dir=${WORKSPACE}/${PATCHDIR}")
95+
96+
# where the source is located
97+
YETUS_ARGS+=("--basedir=${WORKSPACE}/${SOURCEDIR}")
98+
99+
# our project defaults come from a personality file
100+
YETUS_ARGS+=("--project=tez")
101+
102+
# lots of different output formats
103+
YETUS_ARGS+=("--brief-report-file=${WORKSPACE}/${PATCHDIR}/brief.txt")
104+
YETUS_ARGS+=("--console-report-file=${WORKSPACE}/${PATCHDIR}/console.txt")
105+
YETUS_ARGS+=("--html-report-file=${WORKSPACE}/${PATCHDIR}/report.html")
106+
107+
# enable writing back to Github
108+
YETUS_ARGS+=(--github-user="${GITHUB_USER}")
109+
YETUS_ARGS+=(--github-token="${GITHUB_TOKEN}")
110+
111+
# enable writing back to ASF JIRA
112+
YETUS_ARGS+=(--jira-password="${JIRA_PASSWORD}")
113+
YETUS_ARGS+=(--jira-user="${JIRA_USER}")
114+
115+
# auto-kill any surefire stragglers during unit test runs
116+
YETUS_ARGS+=("--reapermode=kill")
117+
118+
# set relatively high limits for ASF machines
119+
# changing these to higher values may cause problems
120+
# with other jobs on systemd-enabled machines
121+
YETUS_ARGS+=("--proclimit=5500")
122+
YETUS_ARGS+=("--dockermemlimit=20g")
123+
124+
# -1 findbugs issues that show up prior to the patch being applied
125+
# YETUS_ARGS+=("--findbugs-strict-precheck")
126+
127+
# rsync these files back into the archive dir
128+
YETUS_ARGS+=("--archive-list=checkstyle-errors.xml,findbugsXml.xml")
129+
130+
# URL for user-side presentation in reports and such to our artifacts
131+
# (needs to match the archive bits below)
132+
YETUS_ARGS+=("--build-url-artifacts=artifact/out")
133+
134+
# plugins to enable
135+
YETUS_ARGS+=("--plugins=all")
136+
137+
# use Hadoop's bundled shelldocs
138+
YETUS_ARGS+=("--shelldocs=${WORKSPACE}/${SOURCEDIR}/dev-support/bin/shelldocs")
139+
140+
# don't let these tests cause -1s because we aren't really paying that
141+
# much attention to them
142+
YETUS_ARGS+=("--tests-filter=checkstyle")
143+
144+
# run in docker mode and specifically point to our
145+
# Dockerfile since we don't want to use the auto-pulled version.
146+
YETUS_ARGS+=("--docker")
147+
YETUS_ARGS+=("--dockerfile=${DOCKERFILE}")
148+
YETUS_ARGS+=("--mvn-custom-repos")
149+
150+
# effectively treat dev-suport as a custom maven module
151+
YETUS_ARGS+=("--skip-dirs=dev-support")
152+
153+
# help keep the ASF boxes clean
154+
YETUS_ARGS+=("--sentinel")
155+
156+
# use emoji vote so it is easier to find the broken line
157+
YETUS_ARGS+=("--github-use-emoji-vote")
158+
159+
# test with Java 8 and 11
160+
YETUS_ARGS+=("--java-home=/usr/lib/jvm/java-8-openjdk-amd64")
161+
YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-11-openjdk-amd64")
162+
YETUS_ARGS+=("--multijdktests=compile")
163+
YETUS_ARGS+=("--debug")
164+
165+
"${TESTPATCHBIN}" "${YETUS_ARGS[@]}"
166+
'''
167+
}
168+
}
169+
}
170+
171+
}
172+
173+
post {
174+
always {
175+
script {
176+
// Yetus output
177+
archiveArtifacts "${env.PATCHDIR}/**"
178+
// Publish the HTML report so that it can be looked at
179+
// Has to be relative to WORKSPACE.
180+
publishHTML (target: [
181+
allowMissing: true,
182+
keepAll: true,
183+
alwaysLinkToLastBuild: true,
184+
// Has to be relative to WORKSPACE
185+
reportDir: "${env.PATCHDIR}",
186+
reportFiles: 'report.html',
187+
reportName: 'Yetus Report'
188+
])
189+
// Publish JUnit results
190+
try {
191+
junit "${env.SOURCEDIR}/**/target/surefire-reports/*.xml"
192+
} catch(e) {
193+
echo 'junit processing: ' + e.toString()
194+
}
195+
}
196+
}
197+
198+
// Jenkins pipeline jobs fill slaves on PRs without this :(
199+
cleanup() {
200+
script {
201+
sh '''
202+
# See YETUS-764
203+
if [ -f "${WORKSPACE}/${PATCHDIR}/pidfile.txt" ]; then
204+
echo "test-patch process appears to still be running: killing"
205+
kill `cat "${WORKSPACE}/${PATCHDIR}/pidfile.txt"` || true
206+
sleep 10
207+
fi
208+
if [ -f "${WORKSPACE}/${PATCHDIR}/cidfile.txt" ]; then
209+
echo "test-patch container appears to still be running: killing"
210+
docker kill `cat "${WORKSPACE}/${PATCHDIR}/cidfile.txt"` || true
211+
fi
212+
# See HADOOP-13951
213+
chmod -R u+rxw "${WORKSPACE}"
214+
'''
215+
deleteDir()
216+
}
217+
}
218+
}
219+
}

KEYS

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,3 +592,62 @@ aU33ZET6JYY37Zvn0KiOWLP/M08a8g/JOdTP1308wOoL4t+L9tgfy/Pwcv9EtQrj
592592
RH25lXA/2HxJ4hqptH/ClwVJJeFs65M=
593593
=p0Tr
594594
-----END PGP PUBLIC KEY BLOCK-----
595+
pub rsa4096 2020-08-25 [SC]
596+
D7DC 0A99 CECC 840B FC0D 2932 4ECA 5CA5 E303 605A
597+
uid [ultimate] Laszlo Bodor (CODE SIGNING KEY) <bodorlaszlo0202@gmail.com>
598+
sig 3 4ECA5CA5E303605A 2020-08-25 Laszlo Bodor (CODE SIGNING KEY) <bodorlaszlo0202@gmail.com>
599+
sub rsa4096 2020-08-25 [E]
600+
sig 4ECA5CA5E303605A 2020-08-25 Laszlo Bodor (CODE SIGNING KEY) <bodorlaszlo0202@gmail.com>
601+
602+
-----BEGIN PGP PUBLIC KEY BLOCK-----
603+
604+
mQINBF9E69kBEAC0MGD1eHddeC5etJ+SQORt7mBIo4CBStS8gvjZs13CFjKTLc+O
605+
UfOTRIZOu1qa73yhOSWsf/iX3DR4Q/F8FL5nbvQkrcDo06PRho7T1BHo5MVipcyt
606+
PAsdiUDBsq9EhF4p2aWOV1BkHz9Pl7AJWTh3Y/HZUhcQogQEej+tSTR3M/+I2hvN
607+
7tTF0/1695Z1KxjTUd0qPesoYf269fD8S5WeRY1HaHWX//+j3NAJ7ss2xNM8Jg1F
608+
NuAoSac5hIYcuXpF1TpfNg+uEAj9SIorRllT0EixrDR8Nn0HUKLgRXmSN/nA5EbX
609+
vHYpWRu4Dm8grNxrGG6TUUJEUFGnwIEb7BS+kVIIt7TMOm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
jFQ3vnm857zrTNq+E2IHgZCUw9oY/l5ByJeV3TX+eFL/IzAfiUq9/fGfDl9OoruC
642+
zMPg9bUtTM9BsgjH/J+fXlV/JEQi4/+zp085VmeSaYuQeJgO920y4CgCy3n0NUJb
643+
gmIqMYlCN5glX4+2S/jNqR0xBKovZua8S6ZmK2yxqXo5q9yNxtHsIVuNvR7FIx/V
644+
Epb4YMco/Mt4mu2CbPsED/OYkDtu5gp/DQuDPT3cKk8vgcci6F/92Csc6YYBTmDW
645+
qY3otbU6JBsH4mW21OB8Dp5/K7+so5XrCa0DKC84IT4qjKV17x3k+PQqISs3WkSy
646+
9VMBpaoJQroyTZJr6F5Tdq2wJRvXF+z06aJXoVT2/m3GKbnpyUtkkUlVK2UfD1gP
647+
7iiqEP/f+GU1rLFzyy0SGbZmRopNmu2ytY+Hk1dFYOQJW/1BLlsGLpNfHGjiOMvd
648+
Z0LWTBuL54lt+nAm0DqFcb5vmV/fkXdQI25V/ytQdPPnfz0k+lOyXbyxAtv4gASZ
649+
4CLRmiNwOXSdfYmdyfD8n5jawGddtN2qXgDWCPhv8HPVlDqt0trTSCOgQQ8xwJmV
650+
lB3/5pgPNByiaLyoB9kLomrsimlFSF5IY0R6uC7z1Aukx0NjfrJaTLYt8oUx/8bl
651+
jAq7t18gzFWofePw7o6gv35FdrOe+PQ=
652+
=hVV4
653+
-----END PGP PUBLIC KEY BLOCK-----

Tez_DOAP.rdf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@
3434
<download-page rdf:resource="http://tez.apache.org/releases/" />
3535
<programming-language>Java</programming-language>
3636
<category rdf:resource="http://projects.apache.org/category/big-data" />
37+
<release>
38+
<Version>
39+
<name>Version 0.10.1</name>
40+
<created>2021-07-01</created>
41+
<revision>0.10.1</revision>
42+
</Version>
43+
</release>
44+
<release>
45+
<Version>
46+
<name>Version 0.10.0</name>
47+
<created>2020-10-15</created>
48+
<revision>0.10.0</revision>
49+
</Version>
50+
</release>
3751
<release>
3852
<Version>
3953
<name>Version 0.9.2</name>

0 commit comments

Comments
 (0)