Source:
<code>public void updateTimeAfterEndTime_Process() throws JAXBException, ParseException, InterruptedException, IOException, URISyntaxException, OozieClientException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, AuthenticationException { String startTime = InstanceUtil.getTimeWrtSystemTime(-15); String endTime = InstanceUtil.getTimeWrtSystemTime(60); processBundle.setProcessValidity(startTime, endTime); processBundle.submitAndScheduleBundle(prism); Thread.sleep(10000); InstanceUtil.waitTillInstanceReachState(serverOC.get(0), Util.readEntityName(processBundle.getProcessData()),0, CoordinatorAction.Status.WAITING,2,ENTITY_TYPE.PROCESS); String oldProcess = processBundle.getProcessData(); String oldBundleID = InstanceUtil .getLatestBundleID(cluster_1, Util.readEntityName(oldProcess), ENTITY_TYPE.PROCESS); List<String> oldNominalTimes = Util.getActionsNominalTime(cluster_1, oldBundleID, ENTITY_TYPE.PROCESS); processBundle.setProcessProperty("someProp","someVal"); String updateTime = InstanceUtil.addMinsToTime(endTime, 60); <START> System.out.println("Original Feed : "+oldProcess); <END> System.out.println("Updated Feed :"+ processBundle.getProcessData()); System.out.println("Update Time : " + updateTime); ServiceResponse r = prism.getProcessHelper().update(oldProcess, processBundle.getProcessData(), updateTime); AssertUtil.assertSucceeded(r); Util.verifyNewBundleCreation(cluster_1,oldBundleID,oldNominalTimes, oldProcess,true, false); InstanceUtil.waitTillInstancesAreCreated(cluster_1, processBundle.getProcessData(), 1, 10); Util.verifyNewBundleCreation(cluster_1, oldBundleID, oldNominalTimes, oldProcess, true, true); }</code><technical_language>Please log4j logger</technical_language>

Target:
public void updateTimeAfterEndTime_Process() throws JAXBException, ParseException, InterruptedException, IOException, URISyntaxException, OozieClientException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, AuthenticationException { String startTime = InstanceUtil.getTimeWrtSystemTime(-15); String endTime = InstanceUtil.getTimeWrtSystemTime(60); processBundle.setProcessValidity(startTime, endTime); processBundle.submitAndScheduleBundle(prism); Thread.sleep(10000); InstanceUtil.waitTillInstanceReachState(serverOC.get(0), Util.readEntityName(processBundle.getProcessData()),0, CoordinatorAction.Status.WAITING,2,ENTITY_TYPE.PROCESS); String oldProcess = processBundle.getProcessData(); String oldBundleID = InstanceUtil .getLatestBundleID(cluster_1, Util.readEntityName(oldProcess), ENTITY_TYPE.PROCESS); List<String> oldNominalTimes = Util.getActionsNominalTime(cluster_1, oldBundleID, ENTITY_TYPE.PROCESS); processBundle.setProcessProperty("someProp","someVal"); String updateTime = InstanceUtil.addMinsToTime(endTime, 60); logger.info("Original Feed : "+ Util.prettyPrintXml(oldProcess)); logger.info("Updated Feed :"+ Util.prettyPrintXml(processBundle.getProcessData())); logger.info("Update Time : " + updateTime); ServiceResponse r = prism.getProcessHelper().update(oldProcess, processBundle.getProcessData(), updateTime); AssertUtil.assertSucceeded(r); Util.verifyNewBundleCreation(cluster_1,oldBundleID,oldNominalTimes, oldProcess,true, false); InstanceUtil.waitTillInstancesAreCreated(cluster_1, processBundle.getProcessData(), 1, 10); Util.verifyNewBundleCreation(cluster_1, oldBundleID, oldNominalTimes, oldProcess, true, true); }