You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Kaidi Zhao <kz...@salesforce.com> on 2018/06/12 21:57:53 UTC

Log user name in the hive-server2 logs?

(This is for hive 1.2.x)

I noticed in places like ParseDriver.java,

LOG.info("Parsing command: " + command);
It does not log the user who submitted the query.

Just wonder if there is any setting that allows me to log the user name as
well?

Thanks!
Kaidi