ruanwenjun commented on issue #2212:
URL: 
https://github.com/apache/incubator-seatunnel/issues/2212#issuecomment-1188883283

   I find we will find the v2 connectors from `spark` dir
   ```
   private List<Path> getConnectorJarDependencies() {
           Path pluginRootDir = Common.connectorJarDir("spark");
           if (!Files.exists(pluginRootDir) || 
!Files.isDirectory(pluginRootDir)) {
               return Collections.emptyList();
           }
           Config config = new 
ConfigBuilder(Paths.get(commandArgs.getConfigFile())).getConfig();
           Set<URL> pluginJars = new HashSet<>();
           SparkSourcePluginDiscovery sparkSourcePluginDiscovery = new 
SparkSourcePluginDiscovery();
           SparkSinkPluginDiscovery sparkSinkPluginDiscovery = new 
SparkSinkPluginDiscovery();
           
pluginJars.addAll(sparkSourcePluginDiscovery.getPluginJarPaths(getPluginIdentifiers(config,
 PluginType.SOURCE)));
           
pluginJars.addAll(sparkSinkPluginDiscovery.getPluginJarPaths(getPluginIdentifiers(config,
 PluginType.SINK)));
           return pluginJars.stream().map(url -> new 
File(url.getPath()).toPath()).collect(Collectors.toList());
       }
   ```
   But we copy the v2 connector in `seatunnel` dir, so we cannot find the 
connector in e2e. Are you willing to fix this?


-- 
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