Created 12-22-2015 07:52 AM
Q1. Need more clarification on below variable substitution, Is it $username who submits the workflow ?
HADOOP_USER_NAME=${wf:user()}
Created 12-22-2015 11:07 AM
Yes, the name of the user that started the job or workflow will be available through this variable.
See this code partial: https://github.com/apache/oozie/blob/master/core/s...
/** * Return the job owner user name. * * @return the job owner user name. */ public static String wf_user() { return getWorkflow().getUser(); }
View solution in original post