I am attempting to connect to a presto coordinator that resides on an EMR cluster. I am using the Terradata ODBC driver. I have both tested the driver by putting the pertinent details into the DSN via ODBC connections dialog and written a simple C# application that creates a connection (see the code below).
The problem is that I am getting a 404 error returned when the connection is either tested in the DSN dialog or opened in the C# code.
I believe the security group settings in AWS are fine as I am definitely getting through to the master node which is configured to have port 8080 open.
var connectionString = "Driver=Teradata Presto ODBC Driver;Host=xxx;Port=8080";
OdbcConnection cn = new OdbcConnection(connectionString);
OdbcCommand cmd = new OdbcCommand(sql, cn);
cn.Open();
This code when run will throw an exception with "ERROR [HY000] [Teradata][Presto] (1040) Error with HTTP request, response code: 404" as a message.
Am banging my head against the wall with this one. Any insights are very much appreciated.