Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02729200B76 for ; Tue, 16 Aug 2016 06:59:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00FBD160ABC; Tue, 16 Aug 2016 04:59:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 49048160AA7 for ; Tue, 16 Aug 2016 06:59:23 +0200 (CEST) Received: (qmail 2757 invoked by uid 500); 16 Aug 2016 04:59:22 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 2719 invoked by uid 99); 16 Aug 2016 04:59:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 04:59:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 271582C02A5 for ; Tue, 16 Aug 2016 04:59:22 +0000 (UTC) Date: Tue, 16 Aug 2016 04:59:22 +0000 (UTC) From: "Chris Nauroth (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13319) S3A to list InstanceProfileCredentialsProvider after EnvironmentVariableCredentialsProvider MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 16 Aug 2016 04:59:24 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-13319: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I'm resolving this as a duplicate of HADOOP-13252. I think that one will be ready to commit soon. > S3A to list InstanceProfileCredentialsProvider after EnvironmentVariableCredentialsProvider > ------------------------------------------------------------------------------------------- > > Key: HADOOP-13319 > URL: https://issues.apache.org/jira/browse/HADOOP-13319 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 2.8.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Attachments: HADOOP-13252-branch-2-001.patch > > > S3A now has a default list of credential providers to pick up AWS credentials from > The environment variable provider added in HADOOP-12807 should go before the {{InstanceProfileCredentialsProvider}} one in the list, as it does a simple env var checkup. In contrast {{InstanceProfileCredentialsProvider}} does an HTTP request *even when not running on EC2*. It may block for up to 2s to await a timeout, and network problems could take longer. > Checking env vars is a low cost operation that shouldn't have to wait for a network timeout before being picked up. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org