Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9293

For S3 use credentials file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.0.2
    • None
    • fs/s3
    • Linux

    Description

      The following document describes the current way that S3 credentials can be specified ( http://wiki.apache.org/hadoop/AmazonS3 ). In summary they are:

      • in the S3 URI.
      • in the hadoop-site.xml file as
        • fs.s3.awsAccessKeyId
        • fs.s3.awsSecretAccessKey
        • fs.s3n.awsAccessKeyId
        • fs.s3n.aswSecretAccessKey

      The amazon EMR tool elastic-mapreduce already provide the ability to use a credentials file ( see http://s3.amazonaws.com/awsdocs/ElasticMapReduce/latest/emr-qrc.pdf ).

      I would propose that we allow roughly the same access to credentials through a credentials file that is currently provided by elastic-mapreduce. This should allow for centralized administration of credentials which should be positive for security.

      I propose the following properties:

      <property><name>f3.s3.awsCredentialsFile</name><value>/path/to/file</value></property>
      <property><name>fs.s3n.awsCredentialsFile</name><value>/path/to/file</value></property>

      Attachments

        1. HADOOP-9293_1.patch
          6 kB
          Andy Sautins
        2. HADOOP-9293.patch
          1 kB
          Andy Sautins

        Activity

          People

            Unassigned Unassigned
            asautins Andy Sautins
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified