Java 11 or higher is required to run Dremio

Hi,

We are running dremio on docker hosts and trying upgarde dremio version to 25.2.1. and Mycoordinator container exited with the error.

““Java 11 or higher is required to run Dremio””

I have updated my docker base image to JDK 11 and JDK 17 still it throughs same error.

Regards
Koya

@seetharam The default home could still be pointing to JDK 8. Does Dremio 24.x start correctly? That should confirm if JDK is still pointing to 8

Maybe try this? docker exec containerId java -version

On Master, I could see JDK version 17 but, executors are keep on restaring.

During the Dremio version upgrade, I noticed dremio-admin files in /opt/dremio/bin. However, the upgrade process is still not completing successfully, and I’m encountering an issue where the KV store version is still uses the old version (24.0.0).

I tried to docker exec inside container to the 7opt/dremio/bin path to execute dremio-admin commands and faced dremio commnads not found.

  • name: Upgrade dremio coordinator from {{fromVersion}} to {{image_tag}}
    docker_container:
    name: “dremio_coord”
    image: “{{image}}:{{image_tag}}”
    state: started
    entrypoint: [“/bin/bash”, “-c”]
    command: “/opt/dremio/bin/dremio-admin upgrade”
    #command: “/bin/bash -c ‘/opt/dremio/bin/dremio-admin upgrade; /opt/dremio/bin/dremio start-fg’”
    # entrypoint: “/bin/bash -c ’
    # /opt/dremio/bin/dremio-admin upgrade; \
    # /opt/dremio/bin/dremio start-fg’ "
    network_mode: host
    hostname: ‘{{host_name}}’
    # auto_remove: True
    etc_hosts: ‘{{hosts_mapping}}’
    mounts:
    - { target: ‘/opt/dremio/data’, source: ‘{{local_data_store_path}}/{{data_volume}}’, type: ‘bind’ }
    #- { target: ‘/opt/dremio/keystore’, source: ‘{{local_data_store_path}}/keystore’, type: ‘bind’ }
    - { target: ‘/opt/dremio/conf’, source: ‘{{config_volume}}’ }
    - { target: ‘/opt/dremio/tls’, source: ‘{{tls_volume}}’ }
    - { target: ‘/opt/dremio/log’, source: ‘{{log_volume}}’ }
    - { target: ‘/mnt/cachemanagerdisk’, source: ‘{{local_data_store_path}}/dremio-cache’, type: ‘bind’}
    env:
    DREMIO_GC_LOG_TO_CONSOLE: “yes”
    DREMIO_MAX_MEMORY_SIZE_MB: “{{DREMIO_MAX_MEMORY_SIZE_MB}}”
    DREMIO_JAVA_SERVER_EXTRA_OPTS: "
    -Dzookeeper={{zookeeperQ}}
    -Dservices.coordinator.enabled=true
    -Dservices.coordinator.master.enabled=true
    -Dservices.coordinator.master.embedded-zookeeper.enabled=false
    -Dservices.executor.enabled=false
    -Dregistration.publish-host={{host_ip}}”