Support Questions
Find answers, ask questions, and share your expertise

How can i connect to Hive Remote server

Explorer

Hello Everyone,

Need help to find the command

I have two cluster - ClusterA and ClusterB

I want to connect to hive server of clusterB from ClusterA

Can anyone help with the proper command

I tried few commands but that did not help me. Request you to help me to figure out the command

Regards,

Shrikant

2 REPLIES 2

Re: How can i connect to Hive Remote server

@Shrikant BM,

You can use beeline to connect to the remote hive server

Run the below command from cluster A.

beeline -u "jdbc url of cluster B"

.

Please "Accept" the answer if this works.

.

-Aditya

Re: How can i connect to Hive Remote server

@Shrikant BM

You can connect to Hive services on different cluster as specified above. However, ideally it is not recommended because there are other configurations related to the HDFS and other dependent components.