...
By default HiveServer2 performs the query processing as the user that started the server process. It can be enabled to impersonate the connected userwho submitted the query. If this parameter is set to false, the query would run as user hiveserver2 process runs as.
Panel |
---|
hive.server2.enable.impersonation doAs - Impersonate the connected user, default falsetrue |
To prevent memory leak in unsecure mode, disable file system caches.OR
Panel |
---|
hivefs.hdfs.server2impl.enabledisable.doAs - Impersonate the connected usercache - Disable hdfs filesystem cache, default false |