Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The packages in this repository are built and released against specific Trino
versions, available as [tags in this
repository](https://github.com/trinodb/trino-packages/tags):

* [483](https://github.com/trinodb/trino-packages/releases/tag/483)
* [482](https://github.com/trinodb/trino-packages/releases/tag/482)
* [481](https://github.com/trinodb/trino-packages/releases/tag/481)
* [475](https://github.com/trinodb/trino-packages/releases/tag/475)
Expand Down
2 changes: 1 addition & 1 deletion custom-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set default to invalid version to ensure override in build.sh
ARG TRINO_VERSION=482
ARG TRINO_VERSION=483
FROM trinodb/trino-core:${TRINO_VERSION}

# Add customization
Expand Down
12 changes: 6 additions & 6 deletions custom-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ limited subset of plugins to create a image with the following characteristics:
* `geospatial` functions plugin removed.
* `exchange-filesystem` plugin removed.

The project is configured for Trino 482.
The project is configured for Trino 483.

Plugin zips are fetched from the
[Trino GitHub release](https://github.com/trinodb/trino/releases) by the
Expand Down Expand Up @@ -81,9 +81,9 @@ processor architectures locally with `docker images`:

```
REPOSITORY TAG IMAGE ID CREATED SIZE
trino-custom 482-ppc64le 2279b0a14cb6 About a minute ago 790MB
trino-custom 482-arm64 67a3dcee3c85 About a minute ago 765MB
trino-custom 482-amd64 df994bb44819 About a minute ago 757MB
trino-custom 483-ppc64le 2279b0a14cb6 About a minute ago 790MB
trino-custom 483-arm64 67a3dcee3c85 About a minute ago 765MB
trino-custom 483-amd64 df994bb44819 About a minute ago 757MB
```

The specific version depends on the parameter `TRINO_VERSION` set in `build.sh`.
Expand All @@ -100,7 +100,7 @@ purposes. The Trino node functions both as a coordinator and a worker. To launch
it, execute the following:

```shell
docker run -p 8080:8080 --name trino-custom trino-custom:482-arm64
docker run -p 8080:8080 --name trino-custom trino-custom:483-arm64
```

Wait for the following message log line:
Expand Down Expand Up @@ -163,7 +163,7 @@ other Trino documentation for more details.

## Updating to other Trino version

The project is configured to build a custom image for Trino 482. Updates to
The project is configured to build a custom image for Trino 483. Updates to
newer versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down
4 changes: 2 additions & 2 deletions custom-docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Builds the Trino Docker image

-h Display help
-a Build the specified comma-separated architectures, defaults to amd64,arm64,ppc64le
-r Trino version, defaults to 482
-r Trino version, defaults to 483
-t Image tag name, defaults to trino-custom
EOF
}

ARCHITECTURES=(amd64 arm64 ppc64le)
# Set the desires Trino version. This version is also used automatically in the
# Dockerfile.
TRINO_VERSION=482
TRINO_VERSION=483
TAG_PREFIX=trino-custom

while getopts ":a:r:t:h" o; do
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.airlift</groupId>
<artifactId>airbase</artifactId>
<version>391</version>
<version>395</version>
</parent>

<groupId>io.trino</groupId>
Expand Down
12 changes: 6 additions & 6 deletions trino-server-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ characteristics:
* `ml` functions plugin from `trino-server-core` removed.
* `geospatial` functions plugin from `trino-server-core` removed.

The project is configured for Trino 482.
The project is configured for Trino 483.

## Building

Expand Down Expand Up @@ -88,7 +88,7 @@ them by GAV during the `package` phase.

After a successful build, you find the tarball in the
`trino-packages/trino-server-custom/target` directory with the name
`trino-server-custom-482.tar.gz`. The specific version depends on the property
`trino-server-custom-483.tar.gz`. The specific version depends on the property
`dep.trino.version` configured in `trino-packages/trino-server-custom/pom.xml`.

The Maven `ci` profile adds a smoke test that runs after the package phase.
Expand All @@ -112,20 +112,20 @@ test requires Java 25 on `PATH` and a free TCP port 8080 on the host.
Build the project on any machine, and copy the tarball package from the
`trino-server-custom/target` directory to the server on which you want to
install Trino. The server must meet the Trino requirements for the specific
Trino version, for example Java 25 for Trino 482.
Trino version, for example Java 25 for Trino 483.

Find details in the [Trino documentation](https://trino.io/docs/current/installation/deployment.html)

Extract the `tar.gz` package to install Trino:

```shell
tar xfvz trino-server-custom-482.tar.gz
tar xfvz trino-server-custom-483.tar.gz
```

You can run Trino from the resulting directory for testing:

```shell
cd trino-server-custom-482
cd trino-server-custom-483
./bin/launcher run
```

Expand Down Expand Up @@ -171,7 +171,7 @@ other Trino documentation for more details.

## Updating to other Trino version

The project is configured to build a custom tarball for Trino 482. Updates to
The project is configured to build a custom tarball for Trino 483. Updates to
newer versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down
2 changes: 1 addition & 1 deletion trino-server-custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<description>Trino - Server custom tarball package</description>

<properties>
<dep.trino.version>482</dep.trino.version>
<dep.trino.version>483</dep.trino.version>
<dep.takari.version>2.2.0</dep.takari.version>
<air.check.skip-checkstyle>true</air.check.skip-checkstyle>
<air.check.skip-enforcer>false</air.check.skip-enforcer>
Expand Down
2 changes: 1 addition & 1 deletion trino-server-custom/src/main/script/prefetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# runs do not re-download the ~300 MB core tarball.
#
# Arguments:
# $1 Trino version (for example 482)
# $1 Trino version (for example 483)
# $2 Project basedir (the trino-server-custom module directory)
# $3 Work directory for caching downloads (typically ${project.build.directory})

Expand Down
7 changes: 3 additions & 4 deletions trino-server-rpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The RPM archive contains the application, all plugins, the necessary default
configuration files, default setups, and integration with the operating system
to start as a service.

The project is configured for Trino 482.
The project is configured for Trino 483.

## Building

Expand Down Expand Up @@ -53,7 +53,7 @@ by GAV during the `package` phase.

After a successful build, you find the RPM in the
`trino-packages/trino-server-rpm/target` directory with the name
`trino-server-rpm-482.noarch.rpm`. The specific version depends on the property
`trino-server-rpm-483.noarch.rpm`. The specific version depends on the property
`dep.trino.version` configured in `trino-packages/trino-server-rpm/pom.xml`.

To run the integration tests in `ServerIT` you must activate the `ci` profile.
Expand All @@ -65,7 +65,7 @@ A local Docker installation is required:

## Updating to other Trino version

The project is configured to build an RPM for Trino 482. Updates to newer
The project is configured to build an RPM for Trino 483. Updates to newer
versions can be contributed to the repository or can be done locally. The
following steps are necessary:

Expand Down Expand Up @@ -177,4 +177,3 @@ user-created configuration files, copies of the original configuration files
`node.properties.rpmsave` and `env.sh.rpmsave` located in the `/etc/trino`
directory, and the Trino logs directory `/var/log/trino`.


6 changes: 3 additions & 3 deletions trino-server-rpm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<air.check.skip-duplicate-finder>true</air.check.skip-duplicate-finder>
<air.modernizer.java-version>8</air.modernizer.java-version>

<dep.trino.version>482</dep.trino.version>
<dep.trino.version>483</dep.trino.version>
<server.tar.package>trino-server-${dep.trino.version}</server.tar.package>
<rpm.skipSigning>true</rpm.skipSigning>
</properties>
Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-api</artifactId>
<version>3.5.0</version>
<version>3.7.1</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -111,7 +111,7 @@
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.20.6</version>
<version>2.0.5</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion trino-server-rpm/src/main/script/prefetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# runs do not re-download the multi-hundred MB server tarball.
#
# Arguments:
# $1 Trino version (for example 482)
# $1 Trino version (for example 483)
# $2 Project basedir (the trino-server-rpm module directory)
# $3 Work directory for caching downloads (typically ${project.build.directory})

Expand Down