File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/org/apache/sysds/runtime/instructions/ooc Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public void processInstruction( ExecutionContext ec ) {
6565
6666 ExecutorService pool = CommonThreadPool .get ();
6767 try {
68- Future <?> task = pool .submit (() -> {
68+ pool .submit (() -> {
6969 IndexedMatrixValue tmp = null ;
7070 try {
7171 while ((tmp = qIn .dequeueTask ()) != LocalTaskQueue .NO_MORE_TASKS ) {
@@ -80,9 +80,8 @@ public void processInstruction( ExecutionContext ec ) {
8080 throw new DMLRuntimeException (ex );
8181 }
8282 });
83- task .get ();
84- } catch (ExecutionException | InterruptedException e ) {
85- throw new RuntimeException (e );
83+ } catch (Exception ex ) {
84+ throw new DMLRuntimeException (ex );
8685 } finally {
8786 pool .shutdown ();
8887 }
You can’t perform that action at this time.
0 commit comments