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 7E038200B7C for ; Thu, 8 Sep 2016 14:42:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7CE14160ABD; Thu, 8 Sep 2016 12:42:22 +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 C3979160AA5 for ; Thu, 8 Sep 2016 14:42:21 +0200 (CEST) Received: (qmail 39036 invoked by uid 500); 8 Sep 2016 12:42:20 -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 39021 invoked by uid 99); 8 Sep 2016 12:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 12:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A31B52C1B80 for ; Thu, 8 Sep 2016 12:42:20 +0000 (UTC) Date: Thu, 8 Sep 2016 12:42:20 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13560) S3A to support huge file writes and operations -with tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Sep 2016 12:42:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473767#comment-15473767 ] Steve Loughran commented on HADOOP-13560: ----------------------------------------- New code adds stats too; here is the tail end of an 80 MB upload {code} Statistics: OutputStreamStatistics{blocksSubmitted=400, blocksInQueue=0, blocksActive=0, blockUploadsCompleted=400, blockUploadsFailed=0, bytesPendingUpload=0, bytesUploaded=2097152000, transferDuration=13308123 ms, queueDuration=26935221 ms, averageQueueTime=67338 ms, totalUploadDuration=40243344 ms, effectiveBandwidth=52111.77281887907 bytes/s} {code} that bandwith measure is low as includes queue time, and there are many blocks from the same stream then the aggregate queue time is pretty high. The real B/W here is : {code} 2016-09-08 13:35:52,185 [JUnit] INFO scale.AbstractSTestS3AHugeFiles (AbstractSTestS3AHugeFiles.java:test_010_CreateHugeFile(157)) - Time per MB to write = 669,477,018 nS 2016-09-08 13:35:52,186 [JUnit] INFO scale.AbstractSTestS3AHugeFiles (AbstractSTestS3AHugeFiles.java:test_010_CreateHugeFile(159)) - Effective Bandwidth: 1.5662613821040523 MB/s 2016-09-08 13:35:52,186 [JUnit] INFO scale.AbstractSTestS3AHugeFiles (AbstractSTestS3AHugeFiles.java:test_010_CreateHugeFile(162)) - PUT 2097152000 bytes in 400 operations; 5 MB/operation 2016-09-08 13:35:52,186 [JUnit] INFO scale.AbstractSTestS3AHugeFiles (AbstractSTestS3AHugeFiles.java:test_010_CreateHugeFile(165)) - Time per PUT 3,347,385,091 nS {code} That queue duration also includes time that the thread generating the output is blocked awaiting submission of work. As that submission is happening in a sync block, I worry that this blocking will make this output stream (and the FastOutputStream) something that can't be interrupted easily. Does that matter? > S3A to support huge file writes and operations -with tests > ---------------------------------------------------------- > > Key: HADOOP-13560 > URL: https://issues.apache.org/jira/browse/HADOOP-13560 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 2.9.0 > Reporter: Steve Loughran > Assignee: Steve Loughran > Priority: Minor > Attachments: HADOOP-13560-branch-2-001.patch, HADOOP-13560-branch-2-002.patch > > > An AWS SDK [issue|https://github.com/aws/aws-sdk-java/issues/367] highlights that metadata isn't copied on large copies. > 1. Add a test to do that large copy/rname and verify that the copy really works > 2. Verify that metadata makes it over. > Verifying large file rename is important on its own, as it is needed for very large commit operations for committers using rename -- 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