ptupitsyn commented on code in PR #6600:
URL: https://github.com/apache/ignite-3/pull/6600#discussion_r2352767834


##########
modules/compute/src/main/java/org/apache/ignite/internal/compute/JobExecutionContextImpl.java:
##########
@@ -74,4 +95,19 @@ public boolean isCancelled() {
     public JobClassLoader classLoader() {
         return classLoader;
     }
+
+    private Collection<DeploymentUnitInfo> initDeploymentUnits() {
+        List<DisposableDeploymentUnit> units = classLoader.units();
+        ArrayList<DeploymentUnitInfo> result = new ArrayList<>(units.size());
+
+        try {
+            for (DisposableDeploymentUnit unit : units) {
+                result.add(new DeploymentUnitInfo(unit.unit().name(), 
unit.unit().version(), unit.path().toRealPath()));
+            }
+        } catch (IOException e) {
+            throw new RuntimeException(e);

Review Comment:
   What would you suggest here? Do we expect this to happen at all?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to