Examples of killInstances()


Examples of org.apache.falcon.client.FalconClient.killInstances()

        if (optionsList.contains(RUNNING_OPT)) {
            result = client.getRunningInstances(type, entity, colo);
        } else if (optionsList.contains(STATUS_OPT)) {
            result = client.getStatusOfInstances(type, entity, start, end, colo);
        } else if (optionsList.contains(KILL_OPT)) {
            result = client.killInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(SUSPEND_OPT)) {
            result = client.suspendInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(RESUME_OPT)) {
            result = client.resumeInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(RERUN_OPT)) {
View Full Code Here

Examples of org.apache.falcon.client.FalconClient.killInstances()

            result = client.getRunningInstances(type, entity, colo);
        } else if (optionsList.contains(STATUS_OPT)) {
            result = client.getStatusOfInstances(type, entity, start, end,
                    runid, colo);
        } else if (optionsList.contains(KILL_OPT)) {
            result = client.killInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(SUSPEND_OPT)) {
            result = client.suspendInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(RESUME_OPT)) {
            result = client.resumeInstances(type, entity, start, end, colo, clusters, sourceClusters);
        } else if (optionsList.contains(RERUN_OPT)) {
View Full Code Here

Examples of org.apache.falcon.workflow.engine.AbstractWorkflowEngine.killInstances()

            Date end = getEndDate(start, endStr);
            Entity entityObject = EntityUtil.getEntity(type, entity);

            Properties props = getProperties(request);
            AbstractWorkflowEngine wfEngine = getWorkflowEngine();
            return wfEngine.killInstances(entityObject, start, end, props);
        } catch (Throwable e) {
            LOG.error("Failed to kill instances", e);
            throw FalconWebException.newInstanceException(e, Response.Status.BAD_REQUEST);
        }
    }
View Full Code Here

Examples of org.apache.falcon.workflow.engine.AbstractWorkflowEngine.killInstances()

            Date end = getEndDate(start, endStr);
            Entity entityObject = EntityUtil.getEntity(type, entity);

            Properties props = getProperties(request);
            AbstractWorkflowEngine wfEngine = getWorkflowEngine();
            return wfEngine.killInstances(entityObject, start, end, props);
        } catch (Throwable e) {
            LOG.error("Failed to kill instances", e);
            throw FalconWebException.newInstanceException(e, Response.Status.BAD_REQUEST);
        }
    }
View Full Code Here

Examples of org.apache.ivory.client.IvoryClient.killInstances()

      result = client.getRunningInstances(type, entity, colo);
    } else if (optionsList.contains(STATUS_OPT)) {
      result = client.getStatusOfInstances(type, entity, start, end,
          runid, colo);
    } else if (optionsList.contains(KILL_OPT)) {
      result = client.killInstances(type, entity, start, end, colo, clusters, sourceClusters);
    } else if (optionsList.contains(SUSPEND_OPT)) {
      result = client.suspendInstances(type, entity, start, end, colo, clusters, sourceClusters);
    } else if (optionsList.contains(RESUME_OPT)) {
      result = client.resumeInstances(type, entity, start, end, colo, clusters, sourceClusters);
    } else if (optionsList.contains(RERUN_OPT)) {
View Full Code Here

Examples of org.apache.ivory.workflow.engine.AbstractWorkflowEngine.killInstances()

            Date end = getEndDate(start, endStr);           
            Entity entityObject = EntityUtil.getEntity(type, entity);
           
            Properties props = getProperties(request);
            AbstractWorkflowEngine wfEngine = getWorkflowEngine();
            return wfEngine.killInstances(entityObject, start, end, props);
        } catch (Throwable e) {
            LOG.error("Failed to kill instances", e);
            throw IvoryWebException.newInstanceException(e, Response.Status.BAD_REQUEST);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.