TyrantLucifer commented on PR #2697:
URL: 
https://github.com/apache/incubator-seatunnel/pull/2697#issuecomment-1250512672

   > > > > > > can you add e2e-testcase(spark)?
   > > > > > 
   > > > > > 
   > > > > > there is a conflict of the okhttp jar between the Spark jar and 
the influxdb connector. At present, this problem is solved by specifying the 
replacement of conflicting packages in the spark jars directory in the document
   > > > > 
   > > > > 
   > > > > @CalvinKirs PTAL
   > > > 
   > > > 
   > > > We'd better be able to rename these jars @TyrantLucifer WDYT?
   > > 
   > > 
   > > Yes, aggre with @CalvinKirs , you can add `maven-shade` plugin in your 
pom to rename these jars. BTW, could you please use `httpclient`, not use 
`okhttp`, it's better to unify versions and dependencies for http dependencies. 
In subsequent iterations, we need to abstract this http-related functionality 
into public modules and replace them uniformly with the renamed httpclient. 
What do you think about? @531651225 @CalvinKirs
   > 
   > <img alt="图片" width="420" 
src="https://user-images.githubusercontent.com/33744252/190942867-13f2ca43-59d8-425b-aa10-e2c29817821d.png";>
   > 
   > It seems impossible to replace okhttp with httpclient. The okhttp jar is 
used internally by the influxdb-java.jar. Influxdb-java is the only way 
officially provided for accessing influxdb.
   
   This is really bad news. But don't worry, we also have the ultimate weapon, 
the `maven-shade` plugin. We can use this plugin to rename packages of okhttp 
to avoid jar conflict.


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