Remote Metastore runs on its own separate JVM instead of Hive service JVM. By using Thrift Network APIs, other processes can communicate with the metastore server. Also, can have one more metastore servers in this case to offer more availability. Since the database tier can be completely firewalled off, it can bring better manageability/security. Moreover, to access the metastore database, the clients no longer need to share database credentials with each Hiver user.
We need to configure Hive service by setting hive.metastore.uris to the metastore server URI(s), in order to use this remote metastore. Moreover, where the port corresponds to the one set by METASTORE_PORT when starting the metastore server, Metastore server URIs are of the form thrift://host:port.