AWS SDK conflicts in Apache Flink enviromnent

若如初见. 提交于 2019-12-08 04:03:44

问题


I'm trying to deploy my job to Flink environment, and always get an error:

java.lang.NoSuchMethodError: com.amazonaws.AmazonWebServiceRequest.putCustomQueryParameter(Ljava/lang/String;Ljava/lang/String;)

I've tried to include/exclude aws-sdk from my jar, but it didn't help.

Does anyone know how to resolve these conflicts ?


回答1:


Apache Flink loads many classes by default into its classpath. And your problem is just with versions conflict.

Please read the last section of this article https://ci.apache.org/projects/flink/flink-docs-release-1.3/monitoring/debugging_classloading.html



来源:https://stackoverflow.com/questions/46907526/aws-sdk-conflicts-in-apache-flink-enviromnent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!