Basically, hive-site.xml file has to be configured with the below property, to configure metastore in Hive –
hive.metastore.uris
thrift: //node1 (or IP Address):9083
IP address and port of the metastore host