Package org.apache.oozie.executor.jpa

Examples of org.apache.oozie.executor.jpa.WorkflowActionGetForSLAJPAExecutor


    private boolean processSummaryBeanForWorkflowAction(SLASummaryBean summaryBean, String jobId)
            throws JPAExecutorException {
        boolean isJobModified = false;
        WorkflowActionBean wfAction = null;
        wfAction = jpaService.execute(new WorkflowActionGetForSLAJPAExecutor(jobId));
        if (!wfAction.getStatusStr().equals(summaryBean.getJobStatus())) {
            LOG.trace("Workflow action status is " + wfAction.getStatusStr() + "and summary bean status is "
                    + summaryBean.getJobStatus());
            isJobModified = true;
            summaryBean.setJobStatus(wfAction.getStatusStr());
View Full Code Here


                    slaCalc.setActualStart(wf.getStartTime());
                    slaCalc.setActualEnd(wf.getEndTime());
                    slaCalc.setJobStatus(wf.getStatusStr());
                    break;
                case WORKFLOW_ACTION:
                    WorkflowActionBean wa = jpaService.execute(new WorkflowActionGetForSLAJPAExecutor(slaCalc.getId()));
                    if (wa.getEndTime() != null) {
                        ended = true;
                        if (wa.isTerminalWithFailure()
                                || wa.getEndTime().getTime() > slaCalc.getExpectedEnd().getTime()) {
                            isEndMiss = true;
View Full Code Here

    private boolean processSummaryBeanForWorkflowAction(SLASummaryBean summaryBean, String jobId)
            throws JPAExecutorException {
        boolean isJobModified = false;
        WorkflowActionBean wfAction = null;
        wfAction = jpaService.execute(new WorkflowActionGetForSLAJPAExecutor(jobId));
        if (!wfAction.getStatusStr().equals(summaryBean.getJobStatus())) {
            LOG.trace("Workflow action status is " + wfAction.getStatusStr() + "and summary bean status is "
                    + summaryBean.getJobStatus());
            isJobModified = true;
            summaryBean.setJobStatus(wfAction.getStatusStr());
View Full Code Here

                    slaCalc.setActualStart(wf.getStartTime());
                    slaCalc.setActualEnd(wf.getEndTime());
                    slaCalc.setJobStatus(wf.getStatusStr());
                    break;
                case WORKFLOW_ACTION:
                    WorkflowActionBean wa = jpaService.execute(new WorkflowActionGetForSLAJPAExecutor(slaCalc.getId()));
                    if (wa.getEndTime() != null) {
                        ended = true;
                        if (wa.isTerminalWithFailure()
                                || wa.getEndTime().getTime() > slaCalc.getExpectedEnd().getTime()) {
                            isEndMiss = true;
View Full Code Here

TOP

Related Classes of org.apache.oozie.executor.jpa.WorkflowActionGetForSLAJPAExecutor

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.