Jay Sen created GOBBLIN-898:
-------------------------------

             Summary: successful Job completion wrongly calls onJobFailure
                 Key: GOBBLIN-898
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-898
             Project: Apache Gobblin
          Issue Type: Bug
            Reporter: Jay Sen


we came across this code snippet which registers jobListner for 
JobCompleteTimer and   JobSucceededTimer event and looks like JobSucceededTimer 
event calls onJobFailure function instead of onJobSucced function.

notifyListeners(this.jobContext, jobListener, 
TimingEvent.LauncherTimings.JOB_SUCCEEDED, new JobListenerAction() {
          @Override
          public void apply(JobListener jobListener, JobContext jobContext)
              throws Exception {
            jobListener.onJobFailure(jobContext);
          }
        });

Qinghe from our team found this, so reporting on behalf of him here



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to