Hi i am new to Oozie and i am getting this error E0902: Exception occured: [User: pramod is not allowed to impersonate pramod] when i run the following command
I don't think you can use variables in the key name - you'll need to hardcode the user name rather than ${user.name}.
I assume you have an oozie user (which the oozie server is run as), so basically you want to configure as follows to allow the oozie user to impersonate anyone from any host:
hadoop.proxyuser.oozie.hosts
*
hadoop.proxyuser.oozie.groups
*
Make sure you restart your HDFS / MAPREDUCE services for this to take affect