Robert Kanter created OOZIE-2356:
------------------------------------
Summary: Add a way to enable/disable credentials in a workflow
Key: OOZIE-2356
URL: https://issues.apache.org/jira/browse/OOZIE-2356
Project: Oozie
Issue Type: Improvement
Components: security
Affects Versions: trunk
Reporter: Robert Kanter
Assignee: Robert Kanter
Currently, in a Kerberos cluster, you can use the {{<credentials>}} section to
tell Oozie to get delegation tokens for HCat/Metastore, HS2, HBase, etc.
However, this is defined in the workflow.xml, which means that Oozie will
always try to get those tokens, even in an non-secure cluster, where it will
likely fail. We should add a mechanism to enable/disable getting credentials so
that the same workflow.xml can be used in both a secure and non-secure
environment; as it is now, you have to maintain two copies of the workflow.xml.
We can do this fairly simply by adding a job-level property (e.g.
oozie.credentials.skip=true) that would skip getting delegation tokens.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)