Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/593#discussion_r41376580
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/execution/librarycache/BlobLibraryCacheManager.java
---
@@ -124,7 +129,13 @@ public void registerTask(JobID jobId,
ExecutionAttemptID task, Collection<BlobKe
ExceptionUtils.tryRethrowIOException(t);
throw new IOException("Library cache
could not register the user code libraries.", t);
}
-
+
+ // add classpaths
+ URL[] cpUrls = requiredClasspaths.toArray(new
URL[requiredClasspaths.size()]);
--- End diff --
Any reason you're creating an array here first instead of simply iterating
over `requiredClassPaths`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---