You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Lee S <sl...@gmail.com> on 2017/01/18 03:46:00 UTC

How to set the username when I execute hive commands?

If the conf hive.server2.enable.doAs is false,  default to user hive to
execute all the hive sqls.

Now I set this conf to true, and I want to set the username to make

access to a directory.

How can I do that?