Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8814617589 for ; Mon, 29 Sep 2014 16:01:53 +0000 (UTC) Received: (qmail 31967 invoked by uid 500); 29 Sep 2014 16:01:53 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 31901 invoked by uid 500); 29 Sep 2014 16:01:53 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 31892 invoked by uid 99); 29 Sep 2014 16:01:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 16:01:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id DFCF39C2455; Mon, 29 Sep 2014 16:01:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aw@apache.org To: common-commits@hadoop.apache.org Message-Id: <5d3948d2eecd477380c2ad6f7375694c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: HDFS-4227. Document dfs.namenode.resource.* (Daisuke Kobayashi via aw) Date: Mon, 29 Sep 2014 16:01:52 +0000 (UTC) Repository: hadoop Updated Branches: refs/heads/trunk 9829f9fa5 -> 84b9c632b HDFS-4227. Document dfs.namenode.resource.* (Daisuke Kobayashi via aw) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/84b9c632 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/84b9c632 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/84b9c632 Branch: refs/heads/trunk Commit: 84b9c632bf82fcbc4023f8a52409e3b4060dc153 Parents: 9829f9f Author: Allen Wittenauer Authored: Mon Sep 29 09:01:43 2014 -0700 Committer: Allen Wittenauer Committed: Mon Sep 29 09:01:43 2014 -0700 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../src/main/resources/hdfs-default.xml | 38 ++++++++++++++++++++ 2 files changed, 40 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/84b9c632/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 767e11f0..e59ccd5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -981,6 +981,8 @@ Release 2.6.0 - UNRELEASED HDFS-6664. HDFS permissions guide documentation states incorrect default group mapping class. (Ray Chiang via aw) + HDFS-4227. Document dfs.namenode.resource.* (Daisuke Kobayashi via aw) + Release 2.5.1 - 2014-09-05 INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/84b9c632/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index 1cc68f4..adc80a2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -634,6 +634,44 @@ + dfs.namenode.resource.check.interval + 5000 + + The interval in milliseconds at which the NameNode resource checker runs. + The checker calculates the number of the NameNode storage volumes whose + available spaces are more than dfs.namenode.resource.du.reserved, and + enters safemode if the number becomes lower than the minimum value + specified by dfs.namenode.resource.checked.volumes.minimum. + + + + + dfs.namenode.resource.du.reserved + 104857600 + + The amount of space to reserve/require for a NameNode storage directory + in bytes. The default is 100MB. + + + + + dfs.namenode.resource.checked.volumes + + + A list of local directories for the NameNode resource checker to check in + addition to the local edits directories. + + + + + dfs.namenode.resource.checked.volumes.minimum + 1 + + The minimum number of redundant NameNode storage volumes required. + + + + dfs.datanode.balance.bandwidthPerSec 1048576