Skip to content

Commit 7c5ff23

Browse files
authored
Revert "Bug 1926041: Bump the fork to Hadoop 3.1.4"
1 parent f587bfe commit 7c5ff23

File tree

1,804 files changed

+15112
-258859
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,804 files changed

+15112
-258859
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*.suo
1010
*.vcxproj.user
1111
*.patch
12-
*.diff
1312
.idea
1413
.svn
1514
.classpath

BUILDING.txt

+3-73
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ Optional packages:
7878
(OR https://github.com/01org/isa-l)
7979
* Bzip2
8080
$ sudo apt-get install bzip2 libbz2-dev
81+
* Jansson (C Library for JSON)
82+
$ sudo apt-get install libjansson-dev
8183
* Linux FUSE
8284
$ sudo apt-get install fuse libfuse-dev
8385
* ZStandard compression
84-
$ sudo apt-get install libzstd1-dev
85-
* PMDK library for storage class memory(SCM) as HDFS cache backend
86-
Please refer to http://pmem.io/ and https://github.com/pmem/pmdk
86+
$ sudo apt-get install zstd
8787

8888
----------------------------------------------------------------------------------
8989
Maven main modules:
@@ -248,32 +248,6 @@ Maven build goals:
248248
invoke, run 'mvn dependency-check:aggregate'. Note that this plugin
249249
requires maven 3.1.1 or greater.
250250

251-
PMDK library build options:
252-
253-
The Persistent Memory Development Kit (PMDK), formerly known as NVML, is a growing
254-
collection of libraries which have been developed for various use cases, tuned,
255-
validated to production quality, and thoroughly documented. These libraries are built
256-
on the Direct Access (DAX) feature available in both Linux and Windows, which allows
257-
applications directly load/store access to persistent memory by memory-mapping files
258-
on a persistent memory aware file system.
259-
260-
It is currently an optional component, meaning that Hadoop can be built without
261-
this dependency. Please Note the library is used via dynamic module. For getting
262-
more details please refer to the official sites:
263-
http://pmem.io/ and https://github.com/pmem/pmdk.
264-
265-
* -Drequire.pmdk is used to build the project with PMDK libraries forcibly. With this
266-
option provided, the build will fail if libpmem library is not found. If this option
267-
is not given, the build will generate a version of Hadoop with libhadoop.so.
268-
And storage class memory(SCM) backed HDFS cache is still supported without PMDK involved.
269-
Because PMDK can bring better caching write/read performance, it is recommended to build
270-
the project with this option if user plans to use SCM backed HDFS cache.
271-
* -Dpmdk.lib is used to specify a nonstandard location for PMDK libraries if they are not
272-
under /usr/lib or /usr/lib64.
273-
* -Dbundle.pmdk is used to copy the specified libpmem libraries into the distribution tar
274-
package. This option requires that -Dpmdk.lib is specified. With -Dbundle.pmdk provided,
275-
the build will fail if -Dpmdk.lib is not specified.
276-
277251
----------------------------------------------------------------------------------
278252
Building components separately
279253

@@ -364,50 +338,6 @@ export MAVEN_OPTS="-Xms256m -Xmx1536m"
364338

365339
----------------------------------------------------------------------------------
366340

367-
Building on macOS (without Docker)
368-
369-
----------------------------------------------------------------------------------
370-
Installing required dependencies for clean install of macOS 10.14:
371-
372-
* Install Xcode Command Line Tools
373-
$ xcode-select --install
374-
* Install Homebrew
375-
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
376-
* Install OpenJDK 8
377-
$ brew tap AdoptOpenJDK/openjdk
378-
$ brew cask install adoptopenjdk8
379-
* Install maven and tools
380-
$ brew install maven autoconf automake cmake wget
381-
* Install native libraries, only openssl is required to compile native code,
382-
you may optionally install zlib, lz4, etc.
383-
$ brew install openssl
384-
* Protocol Buffers 2.5.0 (required), since 2.5.0 is no longer in Homebrew,
385-
we need to compile it from source
386-
$ wget https://github.com/protocolbuffers/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
387-
$ tar zxvf protobuf-2.5.0.tar.gz
388-
$ cd protobuf-2.5.0
389-
$ ./configure
390-
$ make
391-
$ make check
392-
$ make install
393-
$ protoc --version
394-
395-
Note that building Hadoop 3.1.1/3.1.2/3.2.0 native code from source is broken
396-
on macOS. For 3.1.1/3.1.2, you need to manually backport YARN-8622. For 3.2.0,
397-
you need to backport both YARN-8622 and YARN-9487 in order to build native code.
398-
399-
----------------------------------------------------------------------------------
400-
Building command example:
401-
402-
* Create binary distribution with native code but without documentation:
403-
$ mvn package -Pdist,native -DskipTests -Dmaven.javadoc.skip \
404-
-Dopenssl.prefix=/usr/local/opt/openssl
405-
406-
Note that the command above manually specified the openssl library and include
407-
path. This is necessary at least for Homebrewed OpenSSL.
408-
409-
----------------------------------------------------------------------------------
410-
411341
Building on Windows
412342

413343
----------------------------------------------------------------------------------

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN chmod +x /usr/bin/tini
8181

8282
ENV JAVA_HOME=/etc/alternatives/jre
8383

84-
ENV HADOOP_VERSION 3.1.4
84+
ENV HADOOP_VERSION 3.1.1
8585

8686
ENV HADOOP_HOME=/opt/hadoop
8787
ENV HADOOP_LOG_DIR=$HADOOP_HOME/logs
@@ -130,4 +130,4 @@ USER 1002
130130
LABEL io.k8s.display-name="OpenShift Hadoop" \
131131
io.k8s.description="This is an image used by operator-metering to to install and run HDFS." \
132132
io.openshift.tags="openshift" \
133-
maintainer="<metering-team@redhat.com>"
133+
maintainer="AOS Operator Metering <sd-operator-metering@redhat.com>"

Dockerfile.okd

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ RUN chmod +x /usr/bin/tini
7878

7979
ENV JAVA_HOME=/etc/alternatives/jre
8080

81-
ENV HADOOP_VERSION 3.1.4
81+
ENV HADOOP_VERSION 3.1.1
8282

8383
ENV HADOOP_HOME=/opt/hadoop
8484
ENV HADOOP_LOG_DIR=$HADOOP_HOME/logs
@@ -126,4 +126,4 @@ USER 1002
126126
LABEL io.k8s.display-name="OpenShift Hadoop" \
127127
io.k8s.description="This is an image used by operator-metering to to install and run HDFS." \
128128
io.openshift.tags="openshift" \
129-
maintainer="<metering-team@redhat.com>"
129+
maintainer="AOS Operator Metering <sd-operator-metering@redhat.com>"

Dockerfile.rhel

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN set -x; yum install --setopt=skip_missing_names_on_install=False -y \
3232

3333
ENV JAVA_HOME=/etc/alternatives/jre
3434

35-
ENV HADOOP_VERSION 3.1.4
35+
ENV HADOOP_VERSION 3.1.1
3636

3737
ENV HADOOP_HOME=/opt/hadoop
3838
ENV HADOOP_LOG_DIR=$HADOOP_HOME/logs
@@ -80,4 +80,4 @@ USER 1002
8080
LABEL io.k8s.display-name="OpenShift Hadoop" \
8181
io.k8s.description="This is an image used by operator-metering to to install and run HDFS." \
8282
io.openshift.tags="openshift" \
83-
maintainer="<metering-team@redhat.com>"
83+
maintainer="AOS Operator Metering <sd-operator-metering@redhat.com>"

Jenkinsfile

-211
This file was deleted.

LICENSE.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ For:
553553
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/dataTables.bootstrap.js
554554
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/dataTables.bootstrap.css
555555
hadoop-hdfs-project/hadoop-hdfs/src/main/webapps/static/jquery.dataTables.min.js
556-
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/dt-1.10.7/
556+
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/static/dt-1.9.4/
557557
--------------------------------------------------------------------------------
558558
Copyright (C) 2008-2016, SpryMedia Ltd.
559559

@@ -1767,7 +1767,7 @@ any resulting litigation.
17671767

17681768
The binary distribution of this product bundles these dependencies under the
17691769
following license:
1770-
JSch 0.1.54
1770+
JSch 0.1.51
17711771
ParaNamer Core 2.3
17721772
JLine 0.9.94
17731773
leveldbjni-all 1.8

NOTICE.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ following notices:
88
* Copyright 2011 FuseSource Corp. http://fusesource.com
99

1010
The binary distribution of this product bundles binaries of
11-
AWS SDK for Java - Bundle 1.11.271,
12-
AWS Java SDK for AWS KMS 1.11.271,
13-
AWS Java SDK for Amazon S3 1.11.271,
14-
AWS Java SDK for AWS STS 1.11.271,
11+
AWS SDK for Java - Bundle 1.11.134,
12+
AWS Java SDK for AWS KMS 1.11.134,
13+
AWS Java SDK for Amazon S3 1.11.134,
14+
AWS Java SDK for AWS STS 1.11.134,
1515
JMES Path Query library 1.0,
1616
which has the following notices:
1717
* This software includes third party software subject to the following

0 commit comments

Comments
 (0)