arjun4084346 commented on code in PR #3544:
URL: https://github.com/apache/gobblin/pull/3544#discussion_r960112301
##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/flow/BaseFlowToJobSpecCompiler.java:
##########
@@ -162,7 +162,12 @@ private synchronized AddSpecResponse
onAddTopologySpec(TopologySpec spec) {
private AddSpecResponse onAddFlowSpec(FlowSpec flowSpec) {
Properties flowSpecProperties = flowSpec.getConfigAsProperties();
- if (flowSpecProperties.containsKey(ConfigurationKeys.JOB_SCHEDULE_KEY) &&
org.apache.commons.lang.StringUtils.isNotBlank(
+ if (topologySpecMap.containsKey(flowSpec.getUri())) {
+ log.error("flow spec uir: {} is the same as one of the spec executors
uris, ignore the flow", flowSpec.getUri());
Review Comment:
typo in uri
--
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]