You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/10/23 21:51:33 UTC

[jira] [Updated] (PIG-4247) S3 properties are not picked up from core-site.xml in local mode

     [ https://issues.apache.org/jira/browse/PIG-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cheolsoo Park updated PIG-4247:
-------------------------------
    Attachment: PIG-4247-1.patch

Uploading a patch that load s3-related properties from {{core-site.xml}} regardless whether it's local mode or not.

> S3 properties are not picked up from core-site.xml in local mode
> ----------------------------------------------------------------
>
>                 Key: PIG-4247
>                 URL: https://issues.apache.org/jira/browse/PIG-4247
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: 0.15.0
>
>         Attachments: PIG-4247-1.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)