File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
zeppelin-interpreter/src/main/java/org/apache/zeppelin/scheduler Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ public void run() {
177177 progressUpdator = new JobProgressPoller (this , progressUpdateIntervalMs );
178178 progressUpdator .start ();
179179 dateStarted = new Date ();
180- jobRun (); // jobRun will store results by itself and job can get it by calling getReturn( );
180+ setResult ( jobRun () );
181181 this .exception = null ;
182182 errorMessage = null ;
183183 dateFinished = new Date ();
@@ -233,10 +233,6 @@ public void setJobName(String jobName) {
233233
234234 public abstract Map <String , Object > info ();
235235
236- /**
237- * jobRun should store the data into results so that job interface gets the result by calling
238- * getReturn();
239- */
240236 protected abstract Object jobRun () throws Throwable ;
241237
242238 protected abstract boolean jobAbort ();
You can’t perform that action at this time.
0 commit comments