if(log.isDebugEnabled() && service != null) {
log.debug("We have a appmaster service " + service);
}
if(service instanceof BatchAppmasterService) {
((BatchAppmasterService)service).addInterceptor(new JobRepositoryRemoteServiceInterceptor() {
@Override
public BaseObject preRequest(BaseObject baseObject) {
if(baseObject.getType().equals("PartitionedStepExecutionStatusReq")) {
StepExecutionType stepExecutionType = ((PartitionedStepExecutionStatusReq)baseObject).stepExecution;