falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Isaychuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FALCON-1535) Group all oozie-related methods in OozieClientHelper class which aggregates OozieClient
Date Mon, 22 Feb 2016 09:40:18 GMT

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

Paul Isaychuk resolved FALCON-1535.
-----------------------------------
    Resolution: Won't Fix

> Group all oozie-related methods in OozieClientHelper class which aggregates OozieClient
> ---------------------------------------------------------------------------------------
>
>                 Key: FALCON-1535
>                 URL: https://issues.apache.org/jira/browse/FALCON-1535
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: merlin
>    Affects Versions: 0.6
>            Reporter: Paul Isaychuk
>            Assignee: Paul Isaychuk
>              Labels: refactoring
>
> In base test class we have a list of oozie clients related to each server (cluster).
> Proposal is to create our own class for example OozieClientHelper, which aggregates OozieClient.
We will move all methods from OozieUtil, InstanceUtil which use OozieClient to this class
and will use this class instead of Util classes.
> So code like:
> {code}
> InstanceUtil.waitTillInstanceReachState(clusterOC, Util.getProcessName(process), 1,
>             Status.RUNNING, EntityType.PROCESS, timeout);
> {code}
> will be look like:
> {code}
> clusterOC.waitTillInstanceReachState(Util.getProcessName(process), 1,
>             Status.RUNNING, EntityType.PROCESS, timeout);
> {code}



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

Mime
View raw message