title: Flink Reading a S3 file causing Jackson dependency issue
body: <p>I a reading a config YAML file in my link application. I want to keep this config file on S3 filesystem but when using aws-sdk in my pom and trying to read I am getting this error. I know this is due to Jackson's conflict dependency but I am not able to resolve it. Please help me to get it to resolve.</p>
  
  <p>java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.ObjectMapper.enable([Lcom/fasterxml/jackson/core/JsonParser$Feature;)Lcom/fasterxml/jackson/databind/ObjectMapper;
      at com.amazonaws.partitions.PartitionsLoader.(PartitionsLoader.java:54)
      at com.amazonaws.regions.RegionMetadataFactory.create(RegionMetadataFactory.java:30)
      at com.amazonaws.regions.RegionUtils.initialize(RegionUtils.java:65)
      at com.amazonaws.regions.RegionUtils.getRegionMetadata(RegionUtils.java:53)
      at com.amazonaws.regions.RegionUtils.getRegion(RegionUtils.java:107)
      at com.amazonaws.services.s3.AmazonS3Client.createSigner(AmazonS3Client.java:4016)
      at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4913)
      at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4872)
      at com.amazonaws.services.s3.AmazonS3Client.getObject(AmazonS3Client.java:1472)
      at com.bounce.processor.EventProcessor.main(EventProcessor.java:71)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:576)</p>
  
  <p>This this code that I am using to read the file</p>
  
  <pre><code>        AmazonS3 amazonS3Client = new AmazonS3Client(credentials);
  
          S3Object object = amazonS3Client.getObject(new GetObjectRequest(S3_PROD_BUCKET, para.get("topology")));
          InputStream awsinputStream = object.getObjectContent();
  </code></pre>
  
  <p>This is my pom.xml</p>
  
  <pre><code>        &lt;!-- Flink dependencies --&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;io.confluent&lt;/groupId&gt;
              &lt;artifactId&gt;kafka-avro-serializer&lt;/artifactId&gt;
              &lt;version&gt;5.3.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-streaming-java_${scala.binary.version}&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-connector-kafka_${scala.binary.version}&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-connector-filesystem_${scala.binary.version}&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
              &lt;artifactId&gt;hadoop-common&lt;/artifactId&gt;
              &lt;version&gt;${hadoop.version}&lt;/version&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;commons-httpclient&lt;/groupId&gt;
                      &lt;artifactId&gt;commons-httpclient&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
                      &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
                      &lt;artifactId&gt;httpcore&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-avro&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.parquet&lt;/groupId&gt;
              &lt;artifactId&gt;parquet-avro&lt;/artifactId&gt;
              &lt;version&gt;${flink.format.parquet.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
              &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
              &lt;version&gt;1.7.7&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;log4j&lt;/groupId&gt;
              &lt;artifactId&gt;log4j&lt;/artifactId&gt;
              &lt;version&gt;1.2.17&lt;/version&gt;
              &lt;scope&gt;runtime&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-parquet_2.11&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;joda-time&lt;/groupId&gt;
              &lt;artifactId&gt;joda-time&lt;/artifactId&gt;
              &lt;version&gt;2.10.5&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.dataformat&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-dataformat-yaml&lt;/artifactId&gt;
              &lt;version&gt;2.10.2&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.esotericsoftware.yamlbeans&lt;/groupId&gt;
              &lt;artifactId&gt;yamlbeans&lt;/artifactId&gt;
              &lt;version&gt;1.13&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/com.uber/h3 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.uber&lt;/groupId&gt;
              &lt;artifactId&gt;h3&lt;/artifactId&gt;
              &lt;version&gt;3.6.3&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.github.davidmoten&lt;/groupId&gt;
              &lt;artifactId&gt;geo&lt;/artifactId&gt;
              &lt;version&gt;0.7.7&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/org.apache.flink/flink-connector-elasticsearch6 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-connector-elasticsearch7_2.11&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;tech.allegro.schema.json2avro&lt;/groupId&gt;
              &lt;artifactId&gt;converter&lt;/artifactId&gt;
              &lt;version&gt;0.2.9&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-statebackend-rocksdb_2.12&lt;/artifactId&gt;
              &lt;version&gt;1.10.0&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.13&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-avro-confluent-registry&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.flink&lt;/groupId&gt;
              &lt;artifactId&gt;flink-connector-elasticsearch7_2.11&lt;/artifactId&gt;
              &lt;version&gt;${flink.version}&lt;/version&gt;
          &lt;/dependency&gt;
  
  
          &lt;dependency&gt;
              &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;
              &lt;artifactId&gt;aws-java-sdk-bundle&lt;/artifactId&gt;
              &lt;version&gt;1.11.756&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.fasterxml.jackson.core&lt;/groupId&gt;
              &lt;artifactId&gt;jackson-databind&lt;/artifactId&gt;
              &lt;version&gt;2.10.0&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>