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 3B1F917C49 for ; Fri, 1 May 2015 18:25:10 +0000 (UTC) Received: (qmail 9473 invoked by uid 500); 1 May 2015 18:25:10 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 9422 invoked by uid 500); 1 May 2015 18:25:10 -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 9410 invoked by uid 99); 1 May 2015 18:25:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 18:25:09 +0000 Date: Fri, 1 May 2015 18:25:09 +0000 (UTC) From: "Ming Ma (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6697) Make NN lease soft and hard limits configurable 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-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523589#comment-14523589 ] Ming Ma commented on HDFS-6697: ------------------------------- Thanks, [~andreina]. When you are at it, it might be useful to speed up test case TestFileCreation#testOverwriteOpenForWrite with smaller values. > Make NN lease soft and hard limits configurable > ----------------------------------------------- > > Key: HDFS-6697 > URL: https://issues.apache.org/jira/browse/HDFS-6697 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: Ming Ma > Assignee: J.Andreina > > For testing, NameNodeAdapter allows test code to specify lease soft and hard limit via setLeasePeriod directly on LeaseManager. But NamenodeProxies.java still use the default values. > > It is useful if we can make NN lease soft and hard limit configurable via Configuration. That will allow NamenodeProxies.java to use the configured values. -- This message was sent by Atlassian JIRA (v6.3.4#6332)