[英]Amazon s3 upload file from our project Service [amazonImgBucket] target threw an unexpected exception (com/fasterxml/jackson/databind/ObjectMapper)
I am uploading an image to amazon s3 bucket from our Java project. 我正在将图像从Java项目上载到Amazon s3存储桶。 I am getting below error We're sorry but it appears as if the information you have provided is incomplete.
我遇到了以下错误我们很抱歉,但您提供的信息似乎不完整。 Service [amazonImgBucket] target threw an unexpected exception (com/fasterxml/jackson/databind/ObjectMapper) amazonImgBuckeet is my service that we created.
服务[amazonImgBucket]目标引发了意外的异常(com / fasterxml / jackson / databind / ObjectMapper)amazonImgBuckeet是我们创建的我的服务。
I suspect that this is related to a conflict between Spark's version of Jackson and the version that the AWS SDK needs. 我怀疑这与Spark的Jackson版本和AWS开发工具包所需的版本之间的冲突有关。
You would probably be using the older version of aws-sdk for java or else Spark Streaming kinesis connector. 您可能会使用旧版本的aws-sdk for Java或Spark Streaming kinesis连接器。
You just need to use the updated compatible versions of both. 您只需要使用两者的更新兼容版本。
There is an discussion available regarding this issue at https://github.com/apache/spark/pull/10256 . 在https://github.com/apache/spark/pull/10256上可以找到关于此问题的讨论。
You can find more infformation reagrding this at https://github.com/databricks/spark-redshift/issues/133 您可以在https://github.com/databricks/spark-redshift/issues/133中找到更多有关此的信息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.