Skip to content

Commit 1f5becb

Browse files
authored
Merge branch 'apache:trunk' into trunk
2 parents ccf7e78 + 8774f17 commit 1f5becb

File tree

1,242 files changed

+201308
-7543
lines changed

Some content is hidden

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

1,242 files changed

+201308
-7543
lines changed

LICENSE-binary

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ com.github.stephenc.jcip:jcip-annotations:1.0-1
231231
com.google:guice:4.0
232232
com.google:guice-servlet:4.0
233233
com.google.api.grpc:proto-google-common-protos:1.0.0
234-
com.google.code.gson:2.2.4
234+
com.google.code.gson:2.9.0
235235
com.google.errorprone:error_prone_annotations:2.2.0
236236
com.google.j2objc:j2objc-annotations:1.1
237237
com.google.json-simple:json-simple:1.1.1
@@ -241,7 +241,7 @@ com.google.guava:guava:27.0-jre
241241
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
242242
com.microsoft.azure:azure-storage:7.0.0
243243
com.nimbusds:nimbus-jose-jwt:9.8.1
244-
com.squareup.okhttp:okhttp:2.7.5
244+
com.squareup.okhttp3:okhttp:4.9.3
245245
com.squareup.okio:okio:1.6.0
246246
com.zaxxer:HikariCP:4.0.3
247247
commons-beanutils:commons-beanutils:1.9.3
@@ -324,10 +324,6 @@ org.apache.kerby:token-provider:1.0.1
324324
org.apache.solr:solr-solrj:8.8.2
325325
org.apache.yetus:audience-annotations:0.5.0
326326
org.apache.zookeeper:zookeeper:3.6.3
327-
org.codehaus.jackson:jackson-core-asl:1.9.13
328-
org.codehaus.jackson:jackson-jaxrs:1.9.13
329-
org.codehaus.jackson:jackson-mapper-asl:1.9.13
330-
org.codehaus.jackson:jackson-xc:1.9.13
331327
org.codehaus.jettison:jettison:1.1
332328
org.eclipse.jetty:jetty-annotations:9.4.44.v20210927
333329
org.eclipse.jetty:jetty-http:9.4.44.v20210927
@@ -420,7 +416,7 @@ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanage
420416
bootstrap v3.3.6
421417
broccoli-asset-rev v2.4.2
422418
broccoli-funnel v1.0.1
423-
datatables v1.10.8
419+
datatables v1.10.19
424420
em-helpers v0.5.13
425421
em-table v0.1.6
426422
ember v2.2.0
@@ -484,12 +480,12 @@ org.slf4j:slf4j-log4j12:1.7.25
484480
CDDL 1.1 + GPLv2 with classpath exception
485481
-----------------------------------------
486482

487-
com.sun.jersey:jersey-client:1.19
488-
com.sun.jersey:jersey-core:1.19
489-
com.sun.jersey:jersey-guice:1.19
490-
com.sun.jersey:jersey-json:1.19
491-
com.sun.jersey:jersey-server:1.19
492-
com.sun.jersey:jersey-servlet:1.19
483+
com.github.pjfanning:jersey-json:1.20
484+
com.sun.jersey:jersey-client:1.19.4
485+
com.sun.jersey:jersey-core:1.19.4
486+
com.sun.jersey:jersey-guice:1.19.4
487+
com.sun.jersey:jersey-server:1.19.4
488+
com.sun.jersey:jersey-servlet:1.19.4
493489
com.sun.xml.bind:jaxb-impl:2.2.3-1
494490
javax.annotation:javax.annotation-api:1.3.2
495491
javax.servlet:javax.servlet-api:3.1.0

dev-support/Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ pipeline {
4747

4848
options {
4949
buildDiscarder(logRotator(numToKeepStr: '5'))
50-
timeout (time: 24, unit: 'HOURS')
50+
timeout (time: 48, unit: 'HOURS')
5151
timestamps()
5252
checkoutToSubdirectory('src')
5353
}
5454

5555
environment {
5656
YETUS='yetus'
5757
// Branch or tag name. Yetus release tags are 'rel/X.Y.Z'
58-
YETUS_VERSION='f9ba0170a5787a5f4662d3769804fef0226a182f'
58+
YETUS_VERSION='rel/0.14.0'
5959
}
6060

6161
parameters {

dev-support/bin/create-release

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ function usage
293293
echo "--security Emergency security release"
294294
echo "--sign Use .gnupg dir to sign the artifacts and jars"
295295
echo "--version=[version] Use an alternative version string"
296+
echo "--mvnargs=[args] Extra Maven args to be provided when running mvn commands"
296297
}
297298

298299
function option_parse
@@ -347,6 +348,9 @@ function option_parse
347348
--version=*)
348349
HADOOP_VERSION=${i#*=}
349350
;;
351+
--mvnargs=*)
352+
MVNEXTRAARGS=${i#*=}
353+
;;
350354
esac
351355
done
352356

@@ -413,6 +417,9 @@ function option_parse
413417
MVN_ARGS=("-Dmaven.repo.local=${MVNCACHE}")
414418
fi
415419
fi
420+
if [ -n "$MVNEXTRAARGS" ]; then
421+
MVN_ARGS+=("$MVNEXTRAARGS")
422+
fi
416423

417424
if [[ "${SECURITYRELEASE}" = true ]]; then
418425
if [[ ! -d "${BASEDIR}/hadoop-common-project/hadoop-common/src/site/markdown/release/${HADOOP_VERSION}" ]]; then

dev-support/bin/yetus-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ WANTED="$1"
7777
shift
7878
ARGV=("$@")
7979

80-
HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.13.0}
80+
HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.14.0}
8181
BIN=$(yetus_abs "${BASH_SOURCE-$0}")
8282
BINDIR=$(dirname "${BIN}")
8383

dev-support/docker/Dockerfile_debian_10

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ ENV HADOOP_SKIP_YETUS_VERIFICATION true
8282
####
8383
# Install packages
8484
####
85+
RUN pkg-resolver/install-cmake.sh debian:10
8586
RUN pkg-resolver/install-spotbugs.sh debian:10
8687
RUN pkg-resolver/install-boost.sh debian:10
8788
RUN pkg-resolver/install-protobuf.sh debian:10

dev-support/docker/pkg-resolver/install-maven.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ fi
4040

4141
if [ "$version_to_install" == "3.6.3" ]; then
4242
mkdir -p /opt/maven /tmp/maven &&
43-
curl -L -s -S https://mirrors.estointernet.in/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz \
43+
curl -L -s -S https://dlcdn.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz \
4444
-o /tmp/maven/apache-maven-3.6.3-bin.tar.gz &&
4545
tar xzf /tmp/maven/apache-maven-3.6.3-bin.tar.gz --strip-components 1 -C /opt/maven
4646
else

dev-support/docker/pkg-resolver/packages.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
"centos:8": "clang"
6363
},
6464
"cmake": {
65-
"debian:10": "cmake",
6665
"ubuntu:focal": "cmake",
6766
"ubuntu:focal::arch64": "cmake"
6867
},

dev-support/git-jira-validation/git_jira_fix_version_check.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@
7171
print("Commit seems reverted. \t\t\t Commit: " + commit)
7272
continue
7373
ACTUAL_PROJECT_JIRA = None
74-
for project_jira in project_jira_keys:
75-
if project_jira in commit:
76-
ACTUAL_PROJECT_JIRA = project_jira
77-
break
74+
matches = re.findall('|'.join(project_jira_keys), commit)
75+
if matches:
76+
ACTUAL_PROJECT_JIRA = matches[0]
7877
if not ACTUAL_PROJECT_JIRA:
7978
print("WARN: Jira not found. \t\t\t Commit: " + commit)
8079
continue

dev-support/hadoop-vote.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,16 @@ pushd "${OUTPUT_DIR}"
189189
download_and_import_keys
190190
download_release_candidate
191191

192+
pushd "${HADOOP_RC_VERSION}"
193+
192194
execute verify_signatures
193195
execute verify_checksums
194196
execute unzip_from_source
195197
execute rat_test
196198
execute build_from_source
197199
execute build_tar_from_source
198200

201+
popd
199202
popd
200203

201204
print_when_exit

hadoop-client-modules/hadoop-client-minicluster/pom.xml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -423,29 +423,25 @@
423423
<optional>true</optional>
424424
</dependency>
425425
<dependency>
426-
<groupId>com.sun.jersey</groupId>
426+
<groupId>com.github.pjfanning</groupId>
427427
<artifactId>jersey-json</artifactId>
428428
<optional>true</optional>
429429
<exclusions>
430430
<exclusion>
431-
<groupId>javax.xml.bind</groupId>
432-
<artifactId>jaxb-api</artifactId>
433-
</exclusion>
434-
<exclusion>
435-
<groupId>org.codehaus.jackson</groupId>
436-
<artifactId>jackson-core-asl</artifactId>
431+
<groupId>com.fasterxml.jackson.core</groupId>
432+
<artifactId>jackson-core</artifactId>
437433
</exclusion>
438434
<exclusion>
439-
<groupId>org.codehaus.jackson</groupId>
440-
<artifactId>jackson-mapper-asl</artifactId>
435+
<groupId>com.fasterxml.jackson.core</groupId>
436+
<artifactId>jackson-databind</artifactId>
441437
</exclusion>
442438
<exclusion>
443-
<groupId>org.codehaus.jackson</groupId>
444-
<artifactId>jackson-jaxrs</artifactId>
439+
<groupId>com.fasterxml.jackson.jaxrs</groupId>
440+
<artifactId>jackson-jaxrs-json-provider</artifactId>
445441
</exclusion>
446442
<exclusion>
447-
<groupId>org.codehaus.jackson</groupId>
448-
<artifactId>jackson-xc</artifactId>
443+
<groupId>javax.xml.bind</groupId>
444+
<artifactId>jaxb-api</artifactId>
449445
</exclusion>
450446
</exclusions>
451447
</dependency>
@@ -467,6 +463,10 @@
467463
<groupId>javax.enterprise</groupId>
468464
<artifactId>cdi-api</artifactId>
469465
</exclusion>
466+
<exclusion>
467+
<groupId>ch.qos.cal10n</groupId>
468+
<artifactId>cal10n-api</artifactId>
469+
</exclusion>
470470
</exclusions>
471471
</dependency>
472472
<!-- skip org.apache.avro:avro-ipc because it doesn't look like hadoop-common actually uses it -->
@@ -757,6 +757,12 @@
757757
<exclude>META-INF/versions/11/module-info.class</exclude>
758758
</excludes>
759759
</filter>
760+
<filter>
761+
<artifact>com.google.code.gson:gson</artifact>
762+
<excludes>
763+
<exclude>META-INF/versions/9/module-info.class</exclude>
764+
</excludes>
765+
</filter>
760766

761767
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
762768
<filter>

0 commit comments

Comments
 (0)