I have a kerberized cluster and want to run Spark programs as the "OS user" using Livy. Using the proxyUser option only sets the YARN user to the proxy User, the OS user is still Livy.
If this is not possible then can someone point me to the Livy code where the "spark-submit" takes place to create the new YARN application. I can check as to how this could be modified.