I'm running emr-5.3.1 with spark 2.1.0 on AWS.
When I'm submitting spark task with my JAR (FAT JAR) I'm getting the following error:
user class threw exception: java.lang.NoSuchMethodError: com.amazonaws.auth.DefaultAWSCredentialsProviderChain.getInstance()Lcom/amazonaws/auth/DefaultAWSCredentialsProviderChain;
I can only guess it is because I built my jar using a different AWS-SDK version then the one installed in the Spark 2.1.0
- What is the right AWS_SDK version installed on the EMR's Spark 2.1.0?
- Is there a way to force my submitted spark task to run with my jars?