Robert Kanter created OOZIE-1337:
------------------------------------

             Summary: HadoopAccessorService has two static methods so you can't 
override them with another implementation
                 Key: OOZIE-1337
                 URL: https://issues.apache.org/jira/browse/OOZIE-1337
             Project: Oozie
          Issue Type: Bug
          Components: core
    Affects Versions: trunk
            Reporter: Robert Kanter
            Assignee: Robert Kanter
             Fix For: trunk


{{getMRDelegationTokenRenewer}} and {{getMRTokenRenewerInternal}} in 
{{HadoopAccessorService}} are static; plus the {{JavaActionExecutor}} accesses 
{{getMRDelegationTokenRenewer}} directly from {{HadoopAccessorService}}.  So if 
you want to replace {{HadoopAccessorService}} with your own version (via 
"oozie.services.ext" in oozie-site), you can't re-implement those two methods.  

There's also some {{private static final String}} constants that we should make 
{{protected static final String}} constants.  

And also a comment in the javadoc that says "The HadoopAccess class to use can 
be configured in the oozie-site.xml using the 
oozie.service.HadoopAccessorService.accessor.class property."  This isn't true.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to