title: loading existent s3 file through spark gives 403 in scala, but not in python
body: <p>sup y'all</p>
  
  <p>in python, this executes no problem:</p>
  
  <p><code>sc._jsc.hadoopConfiguration().set("fs.s3a.access.key", "...")</code>
  <code>sc._jsc.hadoopConfiguration().set("fs.s3a.secret.key", "...")</code>
  <code>sc.textFile("s3a://path").count()</code></p>
  
  <blockquote>
    <p>someBigNumber</p>
  </blockquote>
  
  <p>in scala, i get a 403:</p>
  
  <p><code>sc.hadoopConfiguration.set("fs.s3a.access.key", "...")</code>
  <code>sc.hadoopConfiguration.set("fs.s3a.secret.key", "...")</code>
  <code>sc.textFile("s3a://path").count()</code></p>
  
  <blockquote>
    <p>StackTrace: com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: ...)</p>
  </blockquote>
  
  <p>why?</p>
  
  <p>this is all spark 2.0.</p>
  
  <p>thanks</p>