My Oracle Support Banner

Running Hive Queries from Trino Fail with "java.net.ConnectException: Failed to connect to localhost" (Doc ID 2894984.1)

Last updated on JULY 20, 2024

Applies to:

Big Data Service on OCI - Version N/A and later
Linux x86-64

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner.

Running Hive queries from Trino fail with "java.net.ConnectException: Failed to connect to localhost".
For example:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.