MR Client get a null renewer token when submitting a job.
org.apache.oozie.action.ActionExecutorException: UninitializedMessageException: Message missing required fields: renewer
Caused by: com.google.protobuf.UninitializedMessageException: Message missing required fields: renewer
Users who disable their security and submitted a job.
1. Disable the security (config change)
2. MR Client submit a job through Oozie (feature start)
Must be in that order
The MR Client get an invalid renewer token when submitting the job.
The HS returns null token when the security is disabled, which will be passed by Oozie then received by the MR Client.
The HS returns null token when the security is disabled and the client requires a token.
Send HS token only when the following situation satisfies:
1. The security is enabled.
2. Already get the RM token.
3. Don't have the HS token.