Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
3300207
Patch trying to trace down slowness in Get calls
lfrancke Nov 28, 2023
e2aef1f
Use Vector 0.26.0 for Java based products
siegfriedweber Nov 10, 2023
f0307d8
Update patch
lfrancke Dec 1, 2023
ddcf70a
Fix comment
lfrancke Dec 1, 2023
f679b93
Update tracepoints
lfrancke Dec 5, 2023
8349f29
Fix 005-STACKABLE-profiling-2.4.12.patch
siegfriedweber Dec 5, 2023
5424939
Changes default async-profiler support version from 1.x to 2.x
lfrancke Dec 5, 2023
49864b5
Merge branch 'HBASE-25685' into SUP-56
lfrancke Dec 5, 2023
ba957b3
Attempt at including async-profiler
lfrancke Dec 5, 2023
295a14e
Merge remote-tracking branch 'origin/SUP-56' into SUP-56
lfrancke Dec 5, 2023
2fcedc5
Fix download of async-profiler for HBase
siegfriedweber Dec 6, 2023
0c45382
Add patch for HBASE-28242 for async-profiler 2.x support
lfrancke Dec 6, 2023
354f2a4
Remove outdated comment
lfrancke Dec 6, 2023
4821b79
Add Async Profiler to the Hadoop image
siegfriedweber Dec 14, 2023
53cf1a6
Add itimer to Hadoop Async Profiler
siegfriedweber Dec 14, 2023
63eefb0
Add openssl and tar to the Hadoop image
siegfriedweber Dec 15, 2023
c73b661
Link the Vector executable in the Hadoop image to the location used i…
siegfriedweber Dec 15, 2023
9f2d700
Merge branch 'main' into SUP-56
siegfriedweber Dec 21, 2023
ddd4c36
Add patches for HADOOP-18055, HADOOP-18077, and itimer
siegfriedweber Dec 21, 2023
78ef1f5
Remove backport to Vector 0.26.0
siegfriedweber Jan 30, 2024
5cc19e0
Remove temporary compatibility fixes for 23.7
siegfriedweber Jan 30, 2024
d383d66
Add upload script for async-profiler
siegfriedweber Jan 31, 2024
8a73781
Fix the name of a patch file
siegfriedweber Jan 31, 2024
c158072
Create patches for Hadoop 3.3.6
siegfriedweber Jan 31, 2024
a87f70b
Create patches for Hadoop 3.2.4
siegfriedweber Feb 1, 2024
cc38cf3
Remove duplicated download of async-profiler in the HBase Dockerfile
siegfriedweber Feb 1, 2024
fdd82be
Remove temporary compatibility fixes for 23.7
siegfriedweber Feb 1, 2024
a79092f
Fix the name of a patch file
siegfriedweber Feb 1, 2024
9daf74d
Replace 005-HBASE-25685-2.4.17.patch with 005-HBASE-28242-2.4.17.patch
siegfriedweber Feb 1, 2024
849b3ab
Merge branch 'main' into SUP-56
siegfriedweber Feb 2, 2024
996b10d
Update changelog
siegfriedweber Feb 2, 2024
5212814
Remove Hadoop 3.2.2
siegfriedweber Feb 2, 2024
4dfbcbd
Update changelog
siegfriedweber Feb 2, 2024
02000fa
Refactor the determination of the target architecture
siegfriedweber Feb 2, 2024
2a69d38
Refactor the determination of the target architecture
siegfriedweber Feb 2, 2024
8340640
Merge branch 'main' into SUP-56
siegfriedweber Feb 2, 2024
d6ab270
Add patch for HBASE-27027 to the image of HBase 2.4.12
siegfriedweber Feb 5, 2024
c1d6967
Merge branch 'main' into SUP-56
siegfriedweber Feb 5, 2024
4e13c28
Update changelog
siegfriedweber Feb 5, 2024
8a9432b
Merge branch 'main' into SUP-56
siegfriedweber Feb 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ All notable changes to this project will be documented in this file.

- omid: init at 1.1.0 ([#493]).
- hadoop: Allow datanodes to override their registration addresses ([#506], [#544]).
- hadoop: Add async-profiler and backport HADOOP-18055 and HADOOP-18077
to support it ([#540]).
- hadoop: Add `tar` package, so that `kubectl cp` can be used to copy
log files and profiler flamegraphs ([#540]).
- hbase: Add async-profiler and backport HBASE-28242 to support it
([#540]).
- hbase: Allow multiple certificates in the KeyStores which is required for
rotating CA certificates. Because of this, HBASE-27027 was backported to
HBase version 2.4.12 ([#540]).
- nifi: Add Apache Iceberg extensions ([#529]).
- testing-tools: Add krb5-user library for Kerberos tests ([#531]).
- testing-tools: Add the Python library Beautiful Soup 4 ([#536]).
Expand All @@ -23,6 +32,10 @@ All notable changes to this project will be documented in this file.
- hadoop: Build from source ([#526]).
- superset: Add patch that fixes saved queries export ([#539]).

### Removed

- hadoop: Remove support for version 3.2.2 ([#540]).

[#493]: https://github.com/stackabletech/docker-images/pull/493
[#506]: https://github.com/stackabletech/docker-images/pull/506
[#514]: https://github.com/stackabletech/docker-images/pull/514
Expand All @@ -35,6 +48,7 @@ All notable changes to this project will be documented in this file.
[#537]: https://github.com/stackabletech/docker-images/pull/537
[#538]: https://github.com/stackabletech/docker-images/pull/538
[#539]: https://github.com/stackabletech/docker-images/pull/539
[#540]: https://github.com/stackabletech/docker-images/pull/540
[#542]: https://github.com/stackabletech/docker-images/pull/542
[#544]: https://github.com/stackabletech/docker-images/pull/544

Expand Down
12 changes: 5 additions & 7 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,26 @@
{
"name": "hadoop",
"versions": [
{
"product": "3.2.2",
"java-base": "11",
"jmx_exporter": "0.20.0",
"protobuf": "2.5.0",
"topology_provider": "0.1.0"
},
{
"product": "3.2.4",
"java-base": "11",
"async_profiler": "2.9",
"jmx_exporter": "0.20.0",
"protobuf": "2.5.0",
"topology_provider": "0.1.0"
},
{
"product": "3.3.4",
"java-base": "11",
"async_profiler": "2.9",
"jmx_exporter": "0.20.0",
"protobuf": "3.7.1",
"topology_provider": "0.1.0"
},
{
"product": "3.3.6",
"java-base": "11",
"async_profiler": "2.9",
"jmx_exporter": "0.20.0",
"protobuf": "3.7.1",
"topology_provider": "0.1.0"
Expand All @@ -100,6 +96,7 @@
"hbase_thirdparty": "3.5.1",
"hbase_operator_tools": "1.2.0",
"java-base": "11",
"async_profiler": "2.9",
"phoenix": "2.4-5.1.2",
"hadoop_m2": "3.3.6",
"jmx_exporter": "0.20.0",
Expand All @@ -109,6 +106,7 @@
"hbase_thirdparty": "4.1.4",
"hbase_operator_tools": "1.2.0",
"java-base": "11",
"async_profiler": "2.9",
"phoenix": "2.4-5.1.3",
"hadoop_m2": "3.3.6",
"jmx_exporter": "0.20.0",
Expand Down
14 changes: 13 additions & 1 deletion hadoop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
FROM stackable/image/java-base AS builder

ARG PRODUCT
ARG ASYNC_PROFILER
ARG JMX_EXPORTER
ARG PROTOBUF
ARG TOPOLOGY_PROVIDER
ARG TARGETARCH
Comment thread
siegfriedweber marked this conversation as resolved.
ARG TARGETOS

# https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down Expand Up @@ -36,6 +39,10 @@ RUN curl --fail "https://repo.stackable.tech/repository/packages/jmx-exporter/jm
ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/jmx/jmx_prometheus_javaagent.jar && \
ln -s /stackable/jmx/jmx_prometheus_javaagent.jar /stackable/jmx/jmx_prometheus_javaagent-0.16.1.jar

RUN ARCH="${TARGETARCH/amd64/x64}" && \
curl --fail -L "https://repo.stackable.tech/repository/packages/async-profiler/async-profiler-${ASYNC_PROFILER}-${TARGETOS}-${ARCH}.tar.gz" | tar -xzC . && \
ln -s "/stackable/async-profiler-${ASYNC_PROFILER}-${TARGETOS}-${ARCH}" /stackable/async-profiler

# This Protobuf version is the exact version as used in the Hadoop Dockerfile
# See https://github.com/apache/hadoop/blob/trunk/dev-support/docker/pkg-resolver/install-protobuf.sh
# (this was hardcoded in the Dockerfile in earlier versions of Hadoop, make sure to look at the exact version in Github)
Expand Down Expand Up @@ -107,7 +114,10 @@ RUN microdnf update && \
microdnf install \
fuse \
fuse-libs \
krb5-workstation && \
krb5-workstation \
# tar is required for `kubectl cp` which can be used to copy the log files
# or profiler flamegraph from the Pod
tar && \
Comment thread
siegfriedweber marked this conversation as resolved.
microdnf clean all && \
rm -rf /var/cache/yum

Expand All @@ -122,6 +132,7 @@ WORKDIR /stackable

COPY --chown=stackable:stackable --from=builder /stackable/hadoop-${PRODUCT} /stackable/hadoop-${PRODUCT}/
COPY --chown=stackable:stackable --from=builder /stackable/jmx /stackable/jmx/
COPY --chown=stackable:stackable --from=builder /stackable/async-profiler /stackable/async-profiler/

# The topology provider provides rack awareness functionality for HDFS by allowing users to specify Kubernetes
# labels to build a rackID from
Expand All @@ -136,6 +147,7 @@ ENV LD_LIBRARY_PATH=/stackable/hadoop/lib/native:/usr/lib/jvm/jre/lib/server
ENV PATH="${PATH}":/stackable/hadoop/bin
ENV HADOOP_HOME=/stackable/hadoop
ENV HADOOP_CONF_DIR=/stackable/config
ENV ASYNC_PROFILER_HOME=/stackable/async-profiler

WORKDIR /stackable/hadoop
CMD ["echo", "This image is not meant to be 'run' directly."]
Loading