Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hbase: Add versions 2.4.17, 2.5.3 and 2.5.3-hadoop3 #352

Closed
wants to merge 10 commits into from
12 changes: 12 additions & 0 deletions hbase/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## [Unreleased]

### Added

- Add versions `2.4.17`, `2.5.3` and `2.5.3-hadoop3` ([#352]).
- Add krb5-workstation and openssl packages - needed for Kerberos support ([#352]).
- Add `jackson-dataformat-xml` library (used for logging) ([#352]).

### Changed

- Bump to Apache Phoenix `5.1.3` ([#352]).

[#352]: https://github.com/stackabletech/docker-images/pull/352

## [hbase2.4.6-stackable0.9.0] [hbase2.4.8-stackable0.9.0] [hbase2.4.9-stackable0.9.0] [hbase2.4.11-stackable0.9.0] [hbase2.4.12-stackable0.4.0] - 2022-12-21

### Changed
Expand Down
8 changes: 6 additions & 2 deletions hbase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM stackable/image/java-base

ARG PRODUCT
ARG PHOENIX
ARG JACKSON_DATAFORMAT_XML
ARG RELEASE

LABEL name="Apache HBase" \
Expand All @@ -18,7 +19,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN microdnf update && \
microdnf install tar gzip zip && \
microdnf install python3 python3-pip && \
microdnf install python3 python3-pip krb5-workstation openssl && \
microdnf clean all

RUN ln -s /usr/bin/python3 /usr/bin/python && \
Expand All @@ -39,7 +40,10 @@ RUN curl -L https://repo.stackable.tech/repository/packages/hbase/hbase-${PRODUC
chmod -x /stackable/jmx/jmx_prometheus_javaagent-0.16.1.jar && \
curl -L https://repo.stackable.tech/repository/packages/phoenix/phoenix-hbase-${PHOENIX}-bin.tar.gz | tar -xzC . && \
ln -s /stackable/phoenix-hbase-${PHOENIX}-bin /stackable/phoenix && \
ln -s /stackable/phoenix/phoenix-server-hbase-${PHOENIX}.jar /stackable/hbase/lib/phoenix-server-hbase-${PHOENIX}.jar
ln -s /stackable/phoenix/phoenix-server-hbase-${PHOENIX}.jar /stackable/hbase/lib/phoenix-server-hbase-${PHOENIX}.jar && \
# Install jackson-dataformat-xml which is required for xml logging with log4j2 (starting from hbase version 2.5)
curl -L -o /stackable/hbase/lib/jackson-dataformat-xml-${JACKSON_DATAFORMAT_XML}.jar \
https://repo.stackable.tech/repository/packages/jackson-dataformat-xml/jackson-dataformat-xml-${JACKSON_DATAFORMAT_XML}.jar

ENV HBASE_CONF_DIR=/stackable/hbase/conf

Expand Down
33 changes: 28 additions & 5 deletions image_tools/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,27 +64,50 @@
{
"product": "2.4.6",
"java-base": "11",
"phoenix": "2.4-5.1.2",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
"product": "2.4.8",
"java-base": "11",
"phoenix": "2.4-5.1.2",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
"product": "2.4.9",
"java-base": "11",
"phoenix": "2.4-5.1.2",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
"product": "2.4.11",
"java-base": "11",
"phoenix": "2.4-5.1.2",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
"product": "2.4.12",
"java-base": "11",
"phoenix": "2.4-5.1.2",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
"product": "2.4.17",
"java-base": "11",
"phoenix": "2.4-5.1.3",
'jackson_dataformat_xml': '2.14.1',
},
{
'product': '2.5.3',
'java-base': '11',
'phoenix': '2.5-5.1.3',
'jackson_dataformat_xml': '2.14.1',
},
{
'product': '2.5.3-hadoop3',
'java-base': '11',
'phoenix': '2.5-5.1.3',
'jackson_dataformat_xml': '2.14.1',
},
],
},
Expand Down