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

Is it needed Hive metaserver as well as Hive server2 on same node?

Explorer
 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Is it needed Hive metaserver as well as Hive server2 on same node?

Expert Contributor

No, they can run on different machines.

View solution in original post

2 REPLIES 2

Re: Is it needed Hive metaserver as well as Hive server2 on same node?

Expert Contributor

No, they can run on different machines.

View solution in original post

Re: Is it needed Hive metaserver as well as Hive server2 on same node?

Cloudera Employee

HiveServer2 and Metastore servers can be on different machines. HS2 can also be configured to get metadata via a remote Metastore server (HS2 opens a TCP client connection to Metastore server) or use an embedded Metastore server (in which case HS2 calls the Metastore Server's API directly: use hive.metastore.uris="" in hiveserver2-site.xml to achieve that).