Skip to content

Commit 1892c8d

Browse files
Merge branch 'trunk' into HDFS-17496
2 parents e1264bb + 919bd18 commit 1892c8d

File tree

1,059 files changed

+45044
-7968
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,059 files changed

+45044
-7968
lines changed

.github/workflows/website.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,5 @@ jobs:
5656
publish_dir: ./staging/hadoop-project
5757
user_name: 'github-actions[bot]'
5858
user_email: 'github-actions[bot]@users.noreply.github.com'
59+
force_orphan: true
5960

LICENSE-binary

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ com.aliyun:aliyun-java-sdk-kms:2.11.0
216216
com.aliyun:aliyun-java-sdk-ram:3.1.0
217217
com.aliyun:aliyun-java-sdk-sts:3.0.0
218218
com.aliyun.oss:aliyun-sdk-oss:3.13.2
219-
com.amazonaws:aws-java-sdk-bundle:1.12.599
220219
com.cedarsoftware:java-util:1.9.0
221220
com.cedarsoftware:json-io:2.5.1
222221
com.fasterxml.jackson.core:jackson-annotations:2.12.7
@@ -227,28 +226,29 @@ com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.12.7
227226
com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.12.7
228227
com.fasterxml.uuid:java-uuid-generator:3.1.4
229228
com.fasterxml.woodstox:woodstox-core:5.4.0
229+
com.github.ben-manes.caffeine:caffeine:2.9.3
230230
com.github.davidmoten:rxjava-extras:0.8.0.17
231231
com.github.stephenc.jcip:jcip-annotations:1.0-1
232-
com.google:guice:4.0
233-
com.google:guice-servlet:4.0
232+
com.google:guice:5.1.0
233+
com.google:guice-servlet:5.1.0
234234
com.google.api.grpc:proto-google-common-protos:1.0.0
235235
com.google.code.gson:2.9.0
236-
com.google.errorprone:error_prone_annotations:2.2.0
237-
com.google.j2objc:j2objc-annotations:1.1
236+
com.google.errorprone:error_prone_annotations:2.5.1
237+
com.google.j2objc:j2objc-annotations:1.3
238238
com.google.json-simple:json-simple:1.1.1
239239
com.google.guava:failureaccess:1.0
240240
com.google.guava:guava:20.0
241-
com.google.guava:guava:27.0-jre
241+
com.google.guava:guava:32.0.1-jre
242242
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
243243
com.microsoft.azure:azure-storage:7.0.0
244244
com.nimbusds:nimbus-jose-jwt:9.37.2
245245
com.zaxxer:HikariCP:4.0.3
246246
commons-beanutils:commons-beanutils:1.9.4
247-
commons-cli:commons-cli:1.5.0
248-
commons-codec:commons-codec:1.11
249-
commons-collections:commons-collections:3.2.2
247+
commons-cli:commons-cli:1.9.0
248+
commons-codec:commons-codec:1.15
249+
org.apache.commons:commons-collections4:4.4
250250
commons-daemon:commons-daemon:1.0.13
251-
commons-io:commons-io:2.14.0
251+
commons-io:commons-io:2.16.1
252252
commons-net:commons-net:3.9.0
253253
de.ruedigermoeller:fst:2.50
254254
io.grpc:grpc-api:1.53.0
@@ -297,8 +297,8 @@ io.swagger:swagger-annotations:1.5.4
297297
javax.inject:javax.inject:1
298298
net.java.dev.jna:jna:5.2.0
299299
net.minidev:accessors-smart:1.2
300-
org.apache.avro:avro:1.9.2
301-
org.apache.commons:commons-collections4:4.2
300+
org.apache.avro:avro:1.11.4
301+
org.apache.avro:avro:1.11.3
302302
org.apache.commons:commons-compress:1.26.1
303303
org.apache.commons:commons-configuration2:2.10.1
304304
org.apache.commons:commons-csv:1.9.0
@@ -318,7 +318,7 @@ org.apache.htrace:htrace-core:3.1.0-incubating
318318
org.apache.htrace:htrace-core4:4.1.0-incubating
319319
org.apache.httpcomponents:httpclient:4.5.13
320320
org.apache.httpcomponents:httpcore:4.4.13
321-
org.apache.kafka:kafka-clients:2.8.2
321+
org.apache.kafka:kafka-clients:3.4.0
322322
org.apache.kerby:kerb-admin:2.0.3
323323
org.apache.kerby:kerb-client:2.0.3
324324
org.apache.kerby:kerb-common:2.0.3
@@ -361,8 +361,8 @@ org.lz4:lz4-java:1.7.1
361361
org.objenesis:objenesis:2.6
362362
org.xerial.snappy:snappy-java:1.1.10.4
363363
org.yaml:snakeyaml:2.0
364-
org.wildfly.openssl:wildfly-openssl:1.1.3.Final
365-
software.amazon.awssdk:bundle:jar:2.24.6
364+
org.wildfly.openssl:wildfly-openssl:2.1.4.Final
365+
software.amazon.awssdk:bundle:2.25.53
366366

367367

368368
--------------------------------------------------------------------------------
@@ -378,8 +378,8 @@ hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/com
378378
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/util/tree.h
379379
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/compat/{fstatat|openat|unlinkat}.h
380380

381-
com.github.luben:zstd-jni:1.4.9-1
382-
dnsjava:dnsjava:2.1.7
381+
com.github.luben:zstd-jni:1.5.2-1
382+
dnsjava:dnsjava:3.6.1
383383
org.codehaus.woodstox:stax2-api:4.2.1
384384

385385

@@ -395,7 +395,7 @@ hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/d3-3.5.17.min.js
395395
leveldb v1.13
396396

397397
com.google.protobuf:protobuf-java:2.5.0
398-
com.google.protobuf:protobuf-java:3.21.12
398+
com.google.protobuf:protobuf-java:3.25.3
399399
com.google.re2j:re2j:1.1
400400
com.jcraft:jsch:0.1.55
401401
com.thoughtworks.paranamer:paranamer:2.3
@@ -482,10 +482,10 @@ com.microsoft.azure:azure-cosmosdb-gateway:2.4.5
482482
com.microsoft.azure:azure-data-lake-store-sdk:2.3.3
483483
com.microsoft.azure:azure-keyvault-core:1.0.0
484484
com.microsoft.sqlserver:mssql-jdbc:6.2.1.jre7
485-
org.bouncycastle:bcpkix-jdk18on:1.77
486-
org.bouncycastle:bcprov-jdk18on:1.77
487-
org.bouncycastle:bcutil-jdk18on:1.77
488-
org.checkerframework:checker-qual:2.5.2
485+
org.bouncycastle:bcpkix-jdk18on:1.78.1
486+
org.bouncycastle:bcprov-jdk18on:1.78.1
487+
org.bouncycastle:bcutil-jdk18on:1.78.1
488+
org.checkerframework:checker-qual:3.8.0
489489
org.codehaus.mojo:animal-sniffer-annotations:1.21
490490
org.jruby.jcodings:jcodings:1.0.13
491491
org.jruby.joni:joni:2.1.2

dev-support/bin/create-release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function set_defaults
205205
DOCKERRAN=false
206206

207207
CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1)
208-
if [ "$CPU_ARCH" = "aarch64" ]; then
208+
if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then
209209
DOCKERFILE="${BASEDIR}/dev-support/docker/Dockerfile_aarch64"
210210
fi
211211

@@ -514,7 +514,7 @@ function dockermode
514514

515515
# we always force build with the OpenJDK JDK
516516
# but with the correct version
517-
if [ "$CPU_ARCH" = "aarch64" ]; then
517+
if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then
518518
echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-openjdk-arm64"
519519
else
520520
echo "ENV JAVA_HOME /usr/lib/jvm/java-${JVM_VERSION}-openjdk-amd64"

dev-support/bin/yetus-wrapper

Lines changed: 2 additions & 2 deletions
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.14.0}
80+
HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.14.1}
8181
BIN=$(yetus_abs "${BASH_SOURCE-$0}")
8282
BINDIR=$(dirname "${BIN}")
8383

@@ -123,7 +123,7 @@ fi
123123
## need to DL, etc
124124
##
125125

126-
BASEURL="https://archive.apache.org/dist/yetus/${HADOOP_YETUS_VERSION}/"
126+
BASEURL="https://downloads.apache.org/yetus/${HADOOP_YETUS_VERSION}/"
127127
TARBALL="${YETUS_PREFIX}-${HADOOP_YETUS_VERSION}-bin.tar"
128128

129129
GPGBIN=$(command -v gpg)

dev-support/docker/Dockerfile_centos_7

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ COPY pkg-resolver pkg-resolver
3030
RUN chmod a+x pkg-resolver/*.sh pkg-resolver/*.py \
3131
&& chmod a+r pkg-resolver/*.json
3232

33+
######
34+
# Centos 7 has reached its EOL and the packages
35+
# are no longer available on mirror.centos.org site.
36+
# Please see https://www.centos.org/centos-linux-eol/
37+
######
38+
RUN pkg-resolver/set-vault-as-baseurl-centos.sh centos:7
39+
3340
######
3441
# Install packages from yum
3542
######
@@ -38,8 +45,13 @@ RUN yum update -y \
3845
&& yum groupinstall -y "Development Tools" \
3946
&& yum install -y \
4047
centos-release-scl \
41-
python3 \
42-
&& yum install -y $(pkg-resolver/resolve.py centos:7)
48+
python3
49+
50+
# Apply the script again because centos-release-scl creates new YUM repo files
51+
RUN pkg-resolver/set-vault-as-baseurl-centos.sh centos:7
52+
53+
# hadolint ignore=DL3008,SC2046
54+
RUN yum install -y $(pkg-resolver/resolve.py centos:7)
4355

4456
# Set GCC 9 as the default C/C++ compiler
4557
RUN echo "source /opt/rh/devtoolset-9/enable" >> /etc/bashrc

dev-support/docker/Dockerfile_windows_10

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ RUN powershell Invoke-WebRequest -URI https://cdn.azul.com/zulu/bin/zulu8.62.0.1
6161
RUN powershell Expand-Archive -Path $Env:TEMP\zulu8.62.0.19-ca-jdk8.0.332-win_x64.zip -DestinationPath "C:\Java"
6262

6363
# Install Apache Maven.
64-
RUN powershell Invoke-WebRequest -URI https://archive.apache.org/dist/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip -OutFile $Env:TEMP\apache-maven-3.8.6-bin.zip
65-
RUN powershell Expand-Archive -Path $Env:TEMP\apache-maven-3.8.6-bin.zip -DestinationPath "C:\Maven"
64+
RUN powershell Invoke-WebRequest -URI https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip -OutFile $Env:TEMP\apache-maven-3.8.8-bin.zip
65+
RUN powershell Expand-Archive -Path $Env:TEMP\apache-maven-3.8.8-bin.zip -DestinationPath "C:\Maven"
6666

6767
# Install CMake 3.19.0.
6868
RUN powershell Invoke-WebRequest -URI https://cmake.org/files/v3.19/cmake-3.19.0-win64-x64.zip -OutFile $Env:TEMP\cmake-3.19.0-win64-x64.zip
@@ -135,7 +135,7 @@ ENV MAVEN_OPTS '-Xmx2048M -Xss128M'
135135
ENV IS_WINDOWS 1
136136
RUN setx PATH "%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
137137
RUN setx PATH "%PATH%;%JAVA_HOME%\bin"
138-
RUN setx PATH "%PATH%;C:\Maven\apache-maven-3.8.6\bin"
138+
RUN setx PATH "%PATH%;C:\Maven\apache-maven-3.8.8\bin"
139139
RUN setx PATH "%PATH%;C:\CMake\cmake-3.19.0-win64-x64\bin"
140140
RUN setx PATH "%PATH%;C:\ZStd"
141141
RUN setx PATH "%PATH%;C:\Program Files\Git\usr\bin"

dev-support/docker/pkg-resolver/install-yasm.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" == "1.2.0-4" ]; then
4242
mkdir -p /tmp/yasm &&
43-
curl -L -s -S https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \
43+
curl -L -s -S https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \
4444
-o /tmp/yasm-1.2.0-4.el7.x86_64.rpm &&
4545
rpm -Uvh /tmp/yasm-1.2.0-4.el7.x86_64.rpm
4646
else

dev-support/docker/pkg-resolver/set-vault-as-baseurl-centos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424
if [ "$1" == "centos:7" ] || [ "$1" == "centos:8" ]; then
2525
cd /etc/yum.repos.d/ || exit &&
2626
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* &&
27-
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* &&
27+
sed -i 's|# *baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* &&
2828
yum update -y &&
2929
cd /root || exit
3030
else

hadoop-client-modules/hadoop-client-check-invariants/src/test/resources/ensure-jars-have-correct-contents.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ allowed_expr+="|^[^-]*-default.xml$"
5151
allowed_expr+="|^[^-]*-version-info.properties$"
5252
# * Hadoop's application classloader properties file.
5353
allowed_expr+="|^org.apache.hadoop.application-classloader.properties$"
54+
# Comes from dnsjava, not sure if relocatable.
55+
allowed_expr+="|^messages.properties$"
5456
# public suffix list used by httpcomponents
5557
allowed_expr+="|^mozilla/$"
5658
allowed_expr+="|^mozilla/public-suffix-list.txt$"

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
<groupId>commons-collections</groupId>
169169
<artifactId>commons-collections</artifactId>
170170
</exclusion>
171+
<exclusion>
172+
<groupId>org.apache.commons</groupId>
173+
<artifactId>commons-collections4</artifactId>
174+
</exclusion>
171175
<exclusion>
172176
<groupId>commons-io</groupId>
173177
<artifactId>commons-io</artifactId>
@@ -403,7 +407,7 @@
403407
<!-- Add back in Mockito since the hadoop-hdfs test jar needs it. -->
404408
<dependency>
405409
<groupId>org.mockito</groupId>
406-
<artifactId>mockito-core</artifactId>
410+
<artifactId>mockito-inline</artifactId>
407411
<optional>true</optional>
408412
</dependency>
409413
<!-- Add back in the transitive dependencies excluded from hadoop-common in client TODO remove once we have a filter for "is in these artifacts" -->
@@ -761,7 +765,7 @@
761765

762766
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
763767
<filter>
764-
<artifact>org.mockito:mockito-core</artifact>
768+
<artifact>org.mockito:mockito-inline</artifact>
765769
<excludes>
766770
<exclude>asm-license.txt</exclude>
767771
<exclude>cglib-license.txt</exclude>
@@ -773,6 +777,15 @@
773777
<exclude>org/objenesis/*.class</exclude>
774778
</excludes>
775779
</filter>
780+
<!-- Additional filters to exclude unexpected contents -->
781+
<filter>
782+
<artifact>*:*</artifact>
783+
<excludes>
784+
<exclude>mockito-extensions/**</exclude>
785+
<exclude>win32-x86/**</exclude>
786+
<exclude>win32-x86-64/**</exclude>
787+
</excludes>
788+
</filter>
776789
<!-- skip grizzly internals we don't need to run. -->
777790
<filter>
778791
<artifact>org.glassfish.grizzly:grizzly-http-servlet</artifact>

0 commit comments

Comments
 (0)