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 497E0200C5E for ; Fri, 7 Apr 2017 16:54:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4818C160B93; Fri, 7 Apr 2017 14:54: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 90D18160B97 for ; Fri, 7 Apr 2017 16:54:45 +0200 (CEST) Received: (qmail 62847 invoked by uid 500); 7 Apr 2017 14:54:44 -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 62780 invoked by uid 99); 7 Apr 2017 14:54: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; Fri, 07 Apr 2017 14:54: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 260D5CD28E for ; Fri, 7 Apr 2017 14:54:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id k7bwcCXR4Gma for ; Fri, 7 Apr 2017 14:54: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 2CE6A5FC7C for ; Fri, 7 Apr 2017 14:54:43 +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 A0058E0D1C for ; Fri, 7 Apr 2017 14:54: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 08BE32406F for ; Fri, 7 Apr 2017 14:54:42 +0000 (UTC) Date: Fri, 7 Apr 2017 14:54:42 +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: Fri, 07 Apr 2017 14:54:46 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960913#comment-15960913 ] Steve Loughran commented on HADOOP-14138: ----------------------------------------- It doesn't get special treatment: all the filesystems we bundle within the hadoop JARs have long had the explicit import: s3n, swift, etc. That way: add the JAR and there's no need to configure anything new. The dynamic stuff really went in for third party libs, I recall. HDFS does different magic. When you create an HdfsConfiguration instance, hdfs-default is registered as a default resource, hdfs-site as an overlay. It's why every server-side bit of HDFS code explicitly creates instances, and it's what clients need to do if they want to read in the hdfs defaults. Yarn does the same; {{AMRMClientImpl}} creates a {{YarnConfiguration}} instance to force in all its stuff. I do not want to replicate such ugliness elsewhere. bq. I'm worried that we're introducing a new dependency on core-default by making this change, while I think we should be going in the opposite direction and getting rid of dependencies on these files. You start ignoring core-default and core-site, you stop picking up site kerberos options, whether UGI should init, etc, etc, and at that point I don't think things will work. I don't think people should be doing that. > 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