Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updating impersonation param, suggest disabling fs cache

...

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
fs.hdfsfile.impl.disable.cache - Disable local filesystem cache, default false