Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4247

S3 properties are not picked up from core-site.xml in local mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • None
    • None

    Description

      Even in local mode, fs.s3 properties need to be set if the job accesses s3 files (for eg, registering jars on s3, loading input files on s3, etc). In particular, fs.s3.awsSecretAccessKey and fs.s3.awsAccessKey are usually set in core-site.xml, but since local mode doesn't load core-site.xml, these properties have to be set again in pig.properties. This adds operational overhead because whenever rotating aws keys, pig.properties also needs to be updated. So it would be nice if fs.s3 properties can be set even in local mode.

      Attachments

        1. PIG-4247-1.patch
          3 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: