S3 and S3N Config in Hadoop2 where to put awsAccessKeyId and awsSecretAcceesKey

Short answer is that in Hadoop2 but S3 and S3N setup both in:

"core-site.xml"

# To Setup S3 Block Filesystem


  fs.default.name
  s3://BUCKET



  fs.s3.awsAccessKeyId
  ID



  fs.s3.awsSecretAccessKey
   SECRET


# To Setup S3N Native Filesystem

  fs.default.name
  s3n://BUCKET

  fs.s3n.awsAccessKeyId
  ID

  fs.s3n.awsSecretAccessKey
   SECRET

Comments

Popular posts from this blog

Vim vi how to reload a file your editing