Use DistributedCache method that takes conf instead HadoopAccessor trick
------------------------------------------------------------------------
Key: OOZIE-638
URL: https://issues.apache.org/jira/browse/OOZIE-638
Project: Oozie
Issue Type: Bug
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
Adding JARs to the distributed cache required a trick of FileSystem
pre-initialization in the HadoopAccessor because the addFileToClasspath()
method was not taking a configuration and it was creating internally a
filesystem with a default configuration.
Since then the DistributedCache API as a method that takes a configuration when
adding a JAR to it.
We should move to use that method as there are some edge scenarios when
kerberos that this is failing.
--
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