Yes, the Hive table information is stored is the metastore. The metastore is designed to be attached to different HDInsight cluster. Here is a general procedure on getting it to work:
- create an HDInsight cluster with Hive metastore specified and one or more additional storage accounts for data storage.
- create external Hive tables pointing to the data stored in those additional storage accounts.
- delete the cluster.
- create another HDInsight using the same Hive metastore, and the same additional storage accounts. The Hive tables are visible on the new HDInsight cluster.
You should be able to use Hive internal tables as well. Hive internal tables store the data on the default storage account. When you create the new cluster, you must use the same storage account and the same metastore. I haven't tested the internal hive table scenario myself.
Hope it help.