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 348D0200B95 for ; Mon, 12 Sep 2016 16:20:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 33470160AB8; Mon, 12 Sep 2016 14:20: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 80801160AB3 for ; Mon, 12 Sep 2016 16:20:21 +0200 (CEST) Received: (qmail 89424 invoked by uid 500); 12 Sep 2016 14:20:20 -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 89395 invoked by uid 99); 12 Sep 2016 14:20:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2016 14:20:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FAB62C1B79 for ; Mon, 12 Sep 2016 14:20:20 +0000 (UTC) Date: Mon, 12 Sep 2016 14:20:20 +0000 (UTC) From: "Yiqun Lin (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-10856) Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Sep 2016 14:20:22 -0000 [ https://issues.apache.org/jira/browse/HDFS-10856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-10856: ----------------------------- Attachment: HDFS-10856.001.patch > Update the comment of BPServiceActor$Scheduler#scheduleNextBlockReport > ---------------------------------------------------------------------- > > Key: HDFS-10856 > URL: https://issues.apache.org/jira/browse/HDFS-10856 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Akira Ajisaka > Assignee: Yiqun Lin > Priority: Minor > Labels: newbie > Attachments: HDFS-10856.001.patch > > > Now the interval is 6 hours by default. > {code:title=BPServiceActor$Scheduler#scheduleNextBlockReport} > /* say the last block report was at 8:20:14. The current report > * should have started around 9:20:14 (default 1 hour interval). > * If current time is : > * 1) normal like 9:20:18, next report should be at 10:20:14 > * 2) unexpected like 11:35:43, next report should be at 12:20:14 > */ > nextBlockReportTime += > (((monotonicNow() - nextBlockReportTime + blockReportIntervalMs) / > blockReportIntervalMs)) * blockReportIntervalMs; > {code} -- 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