You also need to have library hadoop-aws in your classpath. From Hadoop 2.6,
the AWS libraries come in that separate library.

Also, you will need this line in your hadoop configuration:

hadoopConf.set("fs.s3.impl",
"org.apache.hadoop.fs.s3native.NativeS3FileSystem")



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/spark-read-data-from-aws-s3-tp25260p25261.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to