Wudadada commented on issue #7140:
URL: https://github.com/apache/seatunnel/issues/7140#issuecomment-2216884480

   <img width="368" alt="image" 
src="https://github.com/apache/seatunnel/assets/40282570/c32dfe93-6796-4356-ba25-ad1e5e1c23ce";>
   
   It may be caused by the inconsistency between dependencies, specifically the 
versions of the httpclient used by elasticsearch-rest-client and res-assured. I 
fixed it locally by adding a dependency to the connector-elasticsearch-e2e 
module's pom.xml to make the httpclient version consistent with the one used by 
elasticsearch-rest-client. After running it a few times, I found that removing 
the dependency below also worked fine. I'm not sure if this is a general issue 
or just a problem with my local environment.
   
   ```
       <dependencyManagement>
           <dependencies>
               <dependency>
                   <groupId>org.apache.httpcomponents</groupId>
                   <artifactId>httpclient</artifactId>
                   <version>{same version with elasticsearch-rest-client's 
httpclient}</version>
               </dependency>
           </dependencies>
       </dependencyManagement>
   ```


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