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 09C26200C5E for ; Sat, 22 Apr 2017 14:15:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0856F160B96; Sat, 22 Apr 2017 12:15:09 +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 4F2F2160B93 for ; Sat, 22 Apr 2017 14:15:08 +0200 (CEST) Received: (qmail 79253 invoked by uid 500); 22 Apr 2017 12:15:07 -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 79242 invoked by uid 99); 22 Apr 2017 12:15:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2017 12:15:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D6236C142F for ; Sat, 22 Apr 2017 12:15:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8XduCUEn6pm0 for ; Sat, 22 Apr 2017 12:15:05 +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 9C89E5FBA4 for ; Sat, 22 Apr 2017 12:15:05 +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 11BA2E0D3A for ; Sat, 22 Apr 2017 12:15:05 +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 583AB21B5A for ; Sat, 22 Apr 2017 12:15:04 +0000 (UTC) Date: Sat, 22 Apr 2017 12:15:04 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-14138) Remove S3A ref from META-INF service discovery, rely on existing core-default entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 22 Apr 2017 12:15:09 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979880#comment-15979880 ] Steve Loughran commented on HADOOP-14138: ----------------------------------------- bq. A lot of people consider the core-default files as documentation they are, but on the basis that you need to create a Configuration(true) for the basics of talking to anything in a Hadoop cluster, they are effectively a declarative configuration point. bq. Hive uses a nice approach where HiveConf.get(ParamName) implicitly picks up default values. No *-default.xml file here either. Big issue in Hadoop core is there is no central config point: Configuration, HdfsConfiguration, YarnConfiguration, JTConf, plus lots of other bits through the code. For bonus fun, different projects have different world views on visibility of even fieldnames, with the HDFS project considering even {{HdfsClientConfigKeys}} to be private data. w.r.t opening this up, if someone actually makes a commit to allocate time to do this, and others to review it, then it's worth doing. Otherwise it'll just be another abandoned wish list item. While I find the current situation annoying, I have enough half-complete spare-time-work items to get in to worry about this. Just load Configuration with default=true and not worry about it. > Remove S3A ref from META-INF service discovery, rely on existing core-default entry > ----------------------------------------------------------------------------------- > > Key: HADOOP-14138 > URL: https://issues.apache.org/jira/browse/HADOOP-14138 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 2.9.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Critical > Fix For: 2.8.0, 2.7.4, 3.0.0-alpha3 > > Attachments: HADOOP-14138.001.patch, HADOOP-14138-branch-2-001.patch > > > As discussed in HADOOP-14132, the shaded AWS library is killing performance starting all hadoop operations, due to classloading on FS service discovery. > This is despite the fact that there is an entry for fs.s3a.impl in core-default.xml, *we don't need service discovery here* > Proposed: > # cut the entry from {{/hadoop-aws/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem}} > # when HADOOP-14132 is in, move to that, including declaring an XML file exclusively for s3a entries > I want this one in first as its a major performance regression, and one we coula actually backport to 2.7.x, just to improve load time slightly there too -- 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