Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E67D1148B for ; Thu, 3 Jul 2014 20:04:34 +0000 (UTC) Received: (qmail 66870 invoked by uid 500); 3 Jul 2014 20:04:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 66820 invoked by uid 500); 3 Jul 2014 20:04:34 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 66805 invoked by uid 99); 3 Jul 2014 20:04:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 20:04:34 +0000 Date: Thu, 3 Jul 2014 20:04:34 +0000 (UTC) From: "Andrew Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-6493) Change dfs.namenode.startup.delay.block.deletion to second instead of millisecond MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-6493: ------------------------------ Resolution: Fixed Fix Version/s: 2.5.0 Target Version/s: 2.5.0 Status: Resolved (was: Patch Available) Committed to trunk, branch-2, branch-2.5. I wanted this in for 2.5 since it changes a config name that hasn't been released yet. Thanks for the patch Juan! > Change dfs.namenode.startup.delay.block.deletion to second instead of millisecond > --------------------------------------------------------------------------------- > > Key: HDFS-6493 > URL: https://issues.apache.org/jira/browse/HDFS-6493 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Juan Yu > Assignee: Juan Yu > Priority: Trivial > Fix For: 2.5.0 > > Attachments: HDFS-6493.001.patch > > > Based on the discussion in https://issues.apache.org/jira/browse/HDFS-6186, the delay will be at least 30 minutes or even hours. it's not very user friendly to use milliseconds when it's likely measured in hours. > I suggest to make the following change > 1. change the unit of this config to second > 2. rename the config key from "dfs.namenode.startup.delay.block.deletion.ms" to "dfs.namenode.startup.delay.block.deletion.sec" > 3. add the default value to hdfs-default.xml, what's the reasonable value, 30 minutes, one hour? -- This message was sent by Atlassian JIRA (v6.2#6252)