kezhuw commented on a change in pull request #15331:
URL: https://github.com/apache/flink/pull/15331#discussion_r599316682
##########
File path:
flink-core/src/main/java/org/apache/flink/api/common/operators/CollectionExecutor.java
##########
@@ -192,14 +193,16 @@ private void initCache(Set<Map.Entry<String,
DistributedCache.DistributedCacheEn
executionConfig,
cachedFiles,
accumulators,
- metrics)
+ metrics,
+ new JobID())
Review comment:
I am wonder wether we could resolve a more global job id from followings
in order:
1. {{Plan.getJobId}} if not null.
2. Fallback to a job id for {{CollectionExecutor.execute}} scope.
I think it is helpful and meaningful for logs. It is also more aligned with
other environments.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]