Source:
<code>private void addImportExportInstanceHelper(WorkflowExecutionContext context, RelationshipLabel label) throws FalconException { String feedName = (label == RelationshipLabel.DATASOURCE_IMPORT_EDGE) <START> ? context.getOutputFeedNames() : context.getInputFeedNames(); <END> String feedInstanceDataPath = (label == RelationshipLabel.DATASOURCE_IMPORT_EDGE) ? context.getOutputFeedInstancePaths() : context.getInputFeedInstancePaths(); String datasourceName = context.getDatasourceName(); String sourceClusterName = context.getSrcClusterName(); LOG.info("Computing feed instance for : name= path= {}, in cluster: " + "from datasource: {}", label.getName(), feedName, feedInstanceDataPath, sourceClusterName, datasourceName); String feedInstanceName = getFeedInstanceName(feedName, sourceClusterName, feedInstanceDataPath, context.getNominalTimeAsISO8601()); Vertex feedInstanceVertex = findVertex(feedInstanceName, RelationshipType.FEED_INSTANCE); LOG.info("Vertex exists? name={}, type={}, v={}", feedInstanceName, RelationshipType.FEED_INSTANCE, feedInstanceVertex); if (feedInstanceVertex == null) { LOG.info("{} instance vertex does not exist, add it", RelationshipType.FEED_INSTANCE, feedInstanceName); feedInstanceVertex = addFeedInstance( feedInstanceName, context, feedName, context.getSrcClusterName()); } Map<RelationshipProperty, String> properties = edgePropertiesForIndexing(context); properties.put(RelationshipProperty.TIMESTAMP, context.getTimeStampAsISO8601()); addInstanceToEntity(feedInstanceVertex, datasourceName, RelationshipType.DATASOURCE_ENTITY, label, properties); addInstanceToEntity(feedInstanceVertex, sourceClusterName, RelationshipType.CLUSTER_ENTITY, RelationshipLabel.FEED_CLUSTER_EDGE, properties); }</code><technical_language>Shouldnt this String feedName = (label == RelationshipLabel.DATASOURCE_IMPORT_EDGE) ? context.getInputFeedNames() : context.getOutputFeedNames();</technical_language>

Target:
private void addImportExportInstanceHelper(WorkflowExecutionContext context, RelationshipLabel label) throws FalconException { String feedName = (label == RelationshipLabel.DATASOURCE_IMPORT_EDGE) ? context.getOutputFeedNames() : context.getInputFeedNames(); String feedInstanceDataPath = (label == RelationshipLabel.DATASOURCE_IMPORT_EDGE) ? context.getOutputFeedInstancePaths() : context.getInputFeedInstancePaths(); String datasourceName = context.getDatasourceName(); String sourceClusterName = context.getSrcClusterName(); LOG.info("Computing feed instance for : name= path= {}, in cluster: " + "from datasource: {}", label.getName(), feedName, feedInstanceDataPath, sourceClusterName, datasourceName); String feedInstanceName = getFeedInstanceName(feedName, sourceClusterName, feedInstanceDataPath, context.getNominalTimeAsISO8601()); Vertex feedInstanceVertex = addFeedInstance( feedInstanceName, context, feedName, context.getSrcClusterName()); Map<RelationshipProperty, String> properties = edgePropertiesForIndexing(context); properties.put(RelationshipProperty.TIMESTAMP, context.getTimeStampAsISO8601()); addInstanceToEntity(feedInstanceVertex, datasourceName, RelationshipType.DATASOURCE_ENTITY, label, properties); addInstanceToEntity(feedInstanceVertex, sourceClusterName, RelationshipType.CLUSTER_ENTITY, RelationshipLabel.FEED_CLUSTER_EDGE, properties); }