S3N was a Hadoop filesystem client which can read or write data stored in Amazon S3. It uses URLs with the schema s3n://
.
Hadoop’s S3N client for Amazon S3 has been superceded by the S3A connector
Please upgrade to S3A for a supported, higher-performance S3 Client
Keep the hadoop-aws
JAR on your classpath.
Add the aws-java-sdk-bundle.jar
JAR which Hadoop ships with to your classpath.
Change the authentication keys
old key | new key |
---|---|
fs.s3n.awsAccessKeyId |
fs.s3a.access.key |
fs.s3n.awsSecretAccessKey |
fs.s3a.secret.key |
Do make sure the property names are correct. For S3A, they are fs.s3a.access.key
and fs.s3a.secret.key
—you cannot just copy the S3N properties and replace s3n
with s3a
.
Replace URLs which began with s3n://
with s3a://
You may now remove the jets3t
JAR, as it is no longer needed.