I was trying to get the actual user of a hive on spark application running with user as hive. Please let me know if there is any spark configuration to check that. I was looking at 'user.name' but it was showing the user as hive which is not the actual user. FYI, I was checking on Cloudera Manager with CDH 6.2.1
Any help is highly appreciated. Thanks in advance!!