All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docker.presto-product-tests.health-checks.trino-health-check.sh Maven / Gradle / Ivy

There is a newer version: 451
Show newest version
#!/usr/bin/env bash
set -euo pipefail

if test $# -gt 0; then
    echo "$0 does not accept arguments" >&2
    exit 32
fi

# Check if TrinoServer is listed as running Java process
PID=$(jps | grep TrinoServer | cut -f1 -d ' ')

# Dump process information for debugging purposes
jstack -l $PID > /var/trino/var/log/stack.log || true




© 2015 - 2024 Weber Informatics LLC | Privacy Policy