Query Hive Meta Store

后端 未结 2 1921
日久生厌
日久生厌 2021-01-24 22:56

I want to know how to query the hive metastore database and grab a few key properties including:

  • create date
  • last update date
  • last access date
2条回答
  •  Happy的楠姐
    2021-01-24 23:44

    From Java code you can query the Hive Metastore directly - cf. JavaDoc

    Or, if you like quick-and-dirty tricks, you can connect to the Metastore database (typically a MySQL instance) and run some SQL queries directly against it. Not much public documentation about the data model, unfortunately.

提交回复
热议问题