Which version am I running?

Enterprise

To determine which version of Deephaven Enterprise you are running from the web UI, refer to the bottom of the Settings menu:

img

To determine which version of Deephaven Enterprise you are running from the Classic UI, open the Help menu and select About Deephaven:

img img

Core+ Version

To determine which version of the Core+ engine a Code Studio is running, hover over the "i" information button:

img

To determine which version of the Core+ engine a Persistent Query is running, view the "EngineVersion" column of the Query Panel.

img

Core+ Python Client

The following script identifies the version of the Python client you are running:

import importlib
import sys

print("Python", sys.version)
print("Core Client Version", importlib.metadata.version("pydeephaven"))
print("Core+ Client Version", importlib.metadata.version("deephaven-coreplus-client"))

Producing output like:

Python 3.10.12 (main, Dec 18 2023, 20:05:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Core Client Version 0.33.3
Core+ Client Version 1.20240517.344

Core+ Worker

import io.deephaven.configuration.Configuration
import org.apache.commons.io.FileUtils
import java.io.File

println("Java: " + System.getProperty("java.version") + " " + System.getProperty("java.vm.name") + " " + System.getProperty("java.vm.vendor"))
println("Deephaven Core: " + io.deephaven.configuration.Configuration.getInstance().getProperty("deephaven.version"))
println("Deephaven: Enterprise: " + FileUtils.readFileToString(new File("/usr/illumon/latest/etc/IRIS_GRADLE_VERSION")))
import jpy
import sys
import importlib

system = jpy.get_type("java.lang.System")

print("Python: %s" % sys.version)
print(
    "Java: %s %s %s"
    % (
        system.getProperty("java.version"),
        system.getProperty("java.vm.name"),
        system.getProperty("java.vm.vendor"),
    )
)
print("Deephaven Core: %s" % importlib.metadata.version("deephaven-core"))
print("Deephaven: %s" % open("/usr/illumon/latest/etc/IRIS_GRADLE_VERSION").read())

Producing output like:

Python: 3.10.12 (main, Dec 18 2023, 20:05:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Java: 17.0.9 OpenJDK 64-Bit Server VM Eclipse Adoptium
Deephaven Core: 0.33.3
Deephaven: 1.20240517.344

Or for Groovy:

Java: 17.0.9 OpenJDK 64-Bit Server VM Eclipse Adoptium
Deephaven Core: 0.33.3
Deephaven: Enterprise: 1.20240517.344

Legacy Worker

The following script identifies the version of the Deephaven you are running in a Legacy worker:

println(com.illumon.util.ConfigurationUtils.getGradleVersion())
println(System.getProperty("java.version"))
println(System.getProperty("java.vm.name"))
println(System.getProperty("java.vm.vendor"))
import jpy
import sys

system = jpy.get_type("java.lang.System")
cu = jpy.get_type("com.illumon.util.ConfigurationUtils")

print("Python: %s" % sys.version)
print(
    "Java: %s %s %s"
    % (
        system.getProperty("java.version"),
        system.getProperty("java.vm.name"),
        system.getProperty("java.vm.vendor"),
    )
)
print("Deephaven: %s" % cu.getGradleVersion())

Producing output like:

1.20240517.344
17.0.9
OpenJDK 64-Bit Server VM
Eclipse Adoptium

Or for Python:

Python: 3.10.12 (main, Dec 18 2023, 20:05:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Java: 17.0.9 OpenJDK 64-Bit Server VM Eclipse Adoptium
Deephaven: 1.20240517.344