[ 
https://issues.apache.org/jira/browse/OOZIE-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kanter updated OOZIE-2751:
---------------------------------
    Description: 
{{LocalOozieClient}} works by wrapping direct calls to {{DagEngine}} in the 
normal {{OozieClient}} methods instead of making REST calls to an Oozie Server. 
 However, it currently doesn't override all methods, which means you hit the 
{{OozieClient}} implementation, which tries to make a REST call and will fail 
(because it's not setup for that).  For example, {{getStatus(String jobId)}} 
isn't overridden, and doesn't work when used from {{LocalOozieClient}}.

We should also create a test that verifies that all methods are overridden.

  was:
{{LocalOozieClient}} works by wrapping direct calls to {{DagEngine}} in the 
normal {{OozieClient}} methods instead of making REST calls to an Oozie Server. 
 However, it currently doesn't override all methods, which means you hit the 
{{OozieClient}} implementation, which tries to make a REST call and will fail 
(because it's not setup for that).  For example, {{getStatus(String jobId}} 
isn't overridden, and doesn't work when used from {{LocalOozieClient}}.

We should also create a test that verifies that all methods are overridden.


> LocalOozieClient is missing methods from OozieClient
> ----------------------------------------------------
>
>                 Key: OOZIE-2751
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2751
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Robert Kanter
>             Fix For: 5.0.0
>
>
> {{LocalOozieClient}} works by wrapping direct calls to {{DagEngine}} in the 
> normal {{OozieClient}} methods instead of making REST calls to an Oozie 
> Server.  However, it currently doesn't override all methods, which means you 
> hit the {{OozieClient}} implementation, which tries to make a REST call and 
> will fail (because it's not setup for that).  For example, {{getStatus(String 
> jobId)}} isn't overridden, and doesn't work when used from 
> {{LocalOozieClient}}.
> We should also create a test that verifies that all methods are overridden.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to