No Nodes available to run query

I’m conducting a Trino test on an EMR cluster, in which I’ve used m6i.2xlarge instances for the master and 4 slaves. I’ve connected this Trino server to a Glue data catalog, and I can successfully view the data catalog from the Trino CLI, including the schemas, tables, and columns. However, when I try to execute a query, I receive the ‘no nodes available to run query’ error message.

Seems like the workers are not connected to the coordinator somehow. They must show up in the web ui.