Description
When we execute external commands, we execute them under the same context of the user that is running Impala. We typically would want to make sure we run the external command under a different context. One solution is to do a setgid() before we do so. This isn't a big problem as Impala is not run as a privileged process.