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 BEED6200C28 for ; Mon, 13 Mar 2017 15:41:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BBF08160B8E; Mon, 13 Mar 2017 14:41:46 +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 128BF160B60 for ; Mon, 13 Mar 2017 15:41:45 +0100 (CET) Received: (qmail 37665 invoked by uid 500); 13 Mar 2017 14:41:45 -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 37635 invoked by uid 99); 13 Mar 2017 14:41:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2017 14:41:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E503CCA7CB for ; Mon, 13 Mar 2017 14:41:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AOR1vNOm75af for ; Mon, 13 Mar 2017 14:41:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DA42C60FE2 for ; Mon, 13 Mar 2017 14:41:42 +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 5934FE05C1 for ; Mon, 13 Mar 2017 14:41:42 +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 C5870243AE for ; Mon, 13 Mar 2017 14:41:41 +0000 (UTC) Date: Mon, 13 Mar 2017 14:41:41 +0000 (UTC) From: "Vishwajeet Dusane (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-14038) Rename ADLS credential properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Mar 2017 14:41:46 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907582#comment-15907582 ] Vishwajeet Dusane commented on HADOOP-14038: -------------------------------------------- {quote} 2. Maybe I miss something? TestValidateConfiguration does not seem to test deprecation at all. It only forces... {quote} Instead of retiring {{TestValidateConfiguration}}, we retain {{TestValidateConfiguration}} to ensure keys defined in {{AdlConfKeys}} are not mistakenly modified. Also i am proposing extend test in {{TestValidateConfiguration}} for backward compatibility check. Example : {code} @Test public void validateConfigurationKeys() { ... } @Test public void validateBackwardCompitibility() { // Verify for static & dynamic keys as well. Configuration conf = new Configuration(); conf.add("dfs.adls.oauth2.client.id","XYZ"); Assert.assertEquals("XYZ", conf.get(AZURE_AD_CLIENT_ID_KEY)); } {code} I am aware of few client who are consuming dynamic properties at the moment so being extra cautious on not breaking them. > Rename ADLS credential properties > --------------------------------- > > Key: HADOOP-14038 > URL: https://issues.apache.org/jira/browse/HADOOP-14038 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/adl > Affects Versions: 3.0.0-alpha3 > Reporter: John Zhuge > Assignee: John Zhuge > Priority: Minor > Attachments: HADOOP-14038.001.patch, HADOOP-14038.002.patch, HADOOP-14038.003.patch, HADOOP-14038.004.patch, HADOOP-14038.005.patch, HADOOP-14038.006.patch > > > Add ADLS credential configuration properties to {{core-default.xml}}. Set/document the default value for {{dfs.adls.oauth2.access.token.provider.type}} to {{ClientCredential}}. > Fix {{AdlFileSystem#getAccessTokenProvider}} which implies the provider type is {{Custom}}. > Fix several unit tests that set {{dfs.adls.oauth2.access.token.provider}} but does not set {{dfs.adls.oauth2.access.token.provider.type}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org