I'm not able to make a connection to dataproc hive (project 1) from beeline (project 2) using dataproc jdbc connector
.
beeline -d "com.google.cloud.dataproc.jdbc.DataprocDriver" -u "jdbc:dataproc://hive/;projectId=xxxxx;region=us-central1;clusterName=xx"
Connecting to jdbc:dataproc://hive/;projectId=xxxxx;region=us-central1;clusterName=xx
com.google.cloud.dataproc.jdbc.DataprocDriver
Beeline version 3.1.3 by Apache Hive
0: jdbc:dataproc://hive/ (closed)> Connection is already closed.