From common-issues-return-158438-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Tue Sep 25 05:34:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 13840180649 for ; Tue, 25 Sep 2018 05:34:04 +0200 (CEST) Received: (qmail 88758 invoked by uid 500); 25 Sep 2018 03:34:03 -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 88747 invoked by uid 99); 25 Sep 2018 03:34:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2018 03:34:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 31982184DBE for ; Tue, 25 Sep 2018 03:34:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id q74x8xu_mUK3 for ; Tue, 25 Sep 2018 03:34:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1759C5F431 for ; Tue, 25 Sep 2018 03:34:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5B9ABE02EB for ; Tue, 25 Sep 2018 03:34:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2092323F99 for ; Tue, 25 Sep 2018 03:34:00 +0000 (UTC) Date: Tue, 25 Sep 2018 03:34:00 +0000 (UTC) From: "Sammi Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15671) AliyunOSS: Support Assume Roles in AliyunOSS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-15671?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 626710#comment-16626710 ]=20 Sammi Chen commented on HADOOP-15671: ------------------------------------- [~wujinhu], thanks for the update.=C2=A0 A few small issues, # TestAliyunCredentials.java,=C2=A0 use predefined constant field to repla= ce string "{color:#008000}fs.oss.credentials.provider{color}" # TestAliyunCredentials.java, InvalidCredentialsException exception is han= dled in two catch branches of validateCredential.=C2=A0 Is it expected? # AliyunOSSUtils.java, the following two lines can be merged to 1 line. {code:java} URI.class, Configuration.class){code} {code:java} .newInstance(uri, conf); {code} =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 # Kindly verify all the UTs with assume roles on branch-2, and past the re= sult report here. =C2=A0 > AliyunOSS: Support Assume Roles in AliyunOSS > -------------------------------------------- > > Key: HADOOP-15671 > URL: https://issues.apache.org/jira/browse/HADOOP-15671 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/oss > Affects Versions: 3.1.0, 2.10.0, 2.9.1, 3.2.0, 3.0.3 > Reporter: wujinhu > Assignee: wujinhu > Priority: Major > Attachments: HADOOP-15671.001.patch, HADOOP-15671.002.patch, HADO= OP-15671.003.patch, HADOOP-15671.004.patch, HADOOP-15671.005.patch > > > We will add assume role function in Aliyun OSS. > For details about assume role and sts token, click the link below: > [https://www.alibabacloud.com/help/doc-detail/31935.html?spm=3Da2c5t.1106= 5259.1996646101.searchclickresult.1fad155aKOUvJZ] > =C2=A0 > Major Changes: > # Stabilise the=C2=A0constructor of CredentialsProvider so that other de= velopers can have their own implementations. > # =C2=A0add assumed role functions for hadoop aliyun module -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org