Simplify Kerberos/HadoopAccessorService code and remove Kerberos/DoAs code
--------------------------------------------------------------------------
Key: OOZIE-734
URL: https://issues.apache.org/jira/browse/OOZIE-734
Project: Oozie
Issue Type: Improvement
Components: core, security
Affects Versions: 3.2.0
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
Fix For: 3.2.0
The KerberosHadoopAccessorService subclass was implemented as a separate
implementation to provide support for pre-UGI and UGI versions of Hadoop at the
same time. The DoAs/KerberosDoAs classes were there to make testcases run with
pre-UGI and UGI versions of Hadoop at the same time.
As the versions of Hadoop supported by trunk (3.2.0) all have UGI, we don't
need these classes anymore.
The KerberosHadoopAccessorService logic can be folded into the
HadoopAccessorService & the doAs classes can be removed.
This will simplify the code and avoid a common source of confusion for users.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira