Package org.apache.oozie.command.wf

Examples of org.apache.oozie.command.wf.CompletedActionCommand


        if (useXCommand) {
            command = new CompletedActionXCommand(actionId, externalStatus, actionData, HIGH_PRIORITY);
        }
        else {
            command = new CompletedActionCommand(actionId, externalStatus, actionData, HIGH_PRIORITY);
        }
        if (!Services.get().get(CallableQueueService.class).queue(command)) {
            LOG.warn(XLog.OPS, "queue is full or system is in SAFEMODE, ignoring callback");
        }
    }
View Full Code Here


     */
    public void processCallback(String actionId, String externalStatus, Properties actionData)
            throws DagEngineException {
        XLog.Info.get().clearParameter(XLogService.GROUP);
        XLog.Info.get().clearParameter(XLogService.USER);
        Command<Void, ?> command = new CompletedActionCommand(actionId, externalStatus, actionData, HIGH_PRIORITY);
        if (!Services.get().get(CallableQueueService.class).queue(command)) {
            XLog.getLog(this.getClass()).warn(XLog.OPS, "queue is full or system is in SAFEMODE, ignoring callback");
        }
    }
View Full Code Here

        if (useXCommand) {
            command = new CompletedActionXCommand(actionId, externalStatus, actionData, HIGH_PRIORITY);
        }
        else {
            command = new CompletedActionCommand(actionId, externalStatus, actionData, HIGH_PRIORITY);
        }
        if (!Services.get().get(CallableQueueService.class).queue(command)) {
            LOG.warn(XLog.OPS, "queue is full or system is in SAFEMODE, ignoring callback");
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.oozie.command.wf.CompletedActionCommand

Copyright © 2018 www.massapicom. 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.