I am running a Oozie workflow (for hive sql) and in that I have specified a parameter "mapreduce.job.user.name
" where I have given an user name which is having access to execute the job. I have also declared another parameter "password
" there I have defined the password of this user. Unfortunately during running the job Oozie is not considering the user which I have given in the parameter "mapreduce.job.user.name
" and considering the login user name. Now the login user doesn't have access to execute the job, so it is failing with error
java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
Question is why Oozie is not considering the user which is specified in the parameter "mapreduce.job.user.name
". Do I have to define any other parameter?