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 31C3A200BE7 for ; Tue, 6 Dec 2016 02:36:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 301A0160B21; Tue, 6 Dec 2016 01:36:00 +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 7A190160B18 for ; Tue, 6 Dec 2016 02:35:59 +0100 (CET) Received: (qmail 39736 invoked by uid 500); 6 Dec 2016 01:35:58 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 39716 invoked by uid 99); 6 Dec 2016 01:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 01:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 59B3C2C1F54 for ; Tue, 6 Dec 2016 01:35:58 +0000 (UTC) Date: Tue, 6 Dec 2016 01:35:58 +0000 (UTC) From: "Andrew Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8411) Add bytes count metrics to datanode for ECWorker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Dec 2016 01:36:00 -0000 [ https://issues.apache.org/jira/browse/HDFS-8411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723974#comment-15723974 ] Andrew Wang commented on HDFS-8411: ----------------------------------- Thanks for working on this Sammi and Rakesh for reviewing, I had a few additional comments/questions: * In StripedReader, bytesRead is incremented when the future is submitted. However, we don't know if the future has succeeded until later on. Seems like we should increment only for successful requests? * Why don't we increment the metrics directly in StripedReader / StripedWriter rather than doing it in StripedBlockReconstructor? * If we aren't going to handle remote vs. local reconstruction targets in this JIRA, could you file a new JIRA to track this as a follow-on? It's pretty important, especially since on the destination side, it gets lumped together with other OP_WRITE calls. > Add bytes count metrics to datanode for ECWorker > ------------------------------------------------ > > Key: HDFS-8411 > URL: https://issues.apache.org/jira/browse/HDFS-8411 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Li Bo > Assignee: SammiChen > Attachments: HDFS-8411-001.patch, HDFS-8411-002.patch, HDFS-8411-003.patch, HDFS-8411-004.patch, HDFS-8411-005.patch, HDFS-8411-006.patch, HDFS-8411-007.patch, HDFS-8411-008.patch, HDFS-8411-009.patch > > > This is a sub task of HDFS-7674. It calculates the amount of data that is read from local or remote to attend decoding work, and also the amount of data that is written to local or remote datanodes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org