Package org.apache.oozie.executor.jpa

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


        LOG.debug("STARTED Workflow-Purge Attempting to purge Jobs older than [{0}] days.", olderThan);

        int actionDeleted = 0;
        if (jobList != null && jobList.size() != 0) {
            try {
                actionDeleted = jpaService.execute(new BulkDeleteForPurgeJPAExecutor((Collection<JsonBean>) jobList));
            }
            catch (JPAExecutorException je) {
                throw new CommandException(je);
            }
            LOG.debug("ENDED Workflow-Purge deleted jobs :" + jobList.size() + " and actions " + actionDeleted);
View Full Code Here


        LOG.debug("STARTED Bundle-Purge to purge Jobs older than [{0}] days.", olderThan);

        int actionDeleted = 0;
        if (jobList != null && jobList.size() != 0) {
            try {
                actionDeleted = jpaService.execute(new BulkDeleteForPurgeJPAExecutor((Collection<JsonBean>) jobList));
            }
            catch (JPAExecutorException je) {
                throw new CommandException(je);
            }
            LOG.debug("ENDED Bundle-Purge deleted jobs :" + jobList.size() + " and actions " + actionDeleted);
View Full Code Here

        LOG.debug("STARTED Coord-Purge to purge Jobs older than [{0}] days.", olderThan);

        int actionDeleted = 0;
        if (jobList != null && jobList.size() != 0) {
            try {
                actionDeleted = jpaService.execute(new BulkDeleteForPurgeJPAExecutor((Collection<JsonBean>) jobList));
            }
            catch (JPAExecutorException je) {
                throw new CommandException(je);
            }
            LOG.debug("ENDED Coord-Purge deleted jobs :" + jobList.size() + " and actions " + actionDeleted);
View Full Code Here

TOP

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

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.