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 08C4118FFF for ; Fri, 4 Dec 2015 18:31:12 +0000 (UTC) Received: (qmail 40228 invoked by uid 500); 4 Dec 2015 18:31:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 40142 invoked by uid 500); 4 Dec 2015 18:31:11 -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 40072 invoked by uid 99); 4 Dec 2015 18:31:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 18:31:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 333C52C1F71 for ; Fri, 4 Dec 2015 18:31:11 +0000 (UTC) Date: Fri, 4 Dec 2015 18:31:11 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9262) Reconfigure DN lazy writer interval on the fly 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-9262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041927#comment-15041927 ] Xiaobing Zhou commented on HDFS-9262: ------------------------------------- I tried that but DataNode#data that is typeof interface FsDatasetSpi, which is agnostic of any concrete type where I can put updateLazyWriterInterval. In details, DataNode#data is initialized within DataNode#initStorage by calling FsDatasetFactory#newInstance DataNode#initStorage {code} synchronized(this) { if (data == null) { data = factory.newInstance(this, storage, conf); } } {code} {code} public FsDatasetImpl newInstance(DataNode datanode, DataStorage storage, Configuration conf) throws IOException { return new FsDatasetImpl(datanode, storage, conf); } {code} Do you think it's good to keep current implementation or change FsDatasetSpi or write a new interface to accommodate updateLazyWriterInterval? Thanks [~arpitagarwal] > Reconfigure DN lazy writer interval on the fly > ---------------------------------------------- > > Key: HDFS-9262 > URL: https://issues.apache.org/jira/browse/HDFS-9262 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode > Affects Versions: 2.7.0 > Reporter: Xiaobing Zhou > Assignee: Xiaobing Zhou > Attachments: HDFS-9262.001.patch > > > This is to reconfigure > {code} > dfs.datanode.lazywriter.interval.sec > {code} > without restarting DN. -- This message was sent by Atlassian JIRA (v6.3.4#6332)