Parthi N
Parthi N

Reputation: 21

Presto-hive access query history

I'm using presto for querying Hive warehouse, I got query history in presto web interface. Question:

In hive query history logs will available in the Hadoop file system hive path.

Upvotes: 1

Views: 1202

Answers (1)

Adam Shook
Adam Shook

Reputation: 709

No, the queries Presto executes are not available in HDFS (or anywhere, really). They are temporarily available in-memory on the Coordinator to show in the UI. What you can do is create an implementation of an EventListener in order to receive the queries Presto executes. You can then do whatever you like with that information, e.g. log it or write it to a database.

Upvotes: 1

Related Questions