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 4161E184DB for ; Sat, 19 Dec 2015 00:49:47 +0000 (UTC) Received: (qmail 39489 invoked by uid 500); 19 Dec 2015 00:49:46 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 39417 invoked by uid 500); 19 Dec 2015 00:49:46 -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 39392 invoked by uid 99); 19 Dec 2015 00:49:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Dec 2015 00:49:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B9C842C1F6C for ; Sat, 19 Dec 2015 00:49:46 +0000 (UTC) Date: Sat, 19 Dec 2015 00:49:46 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HDFS-9578) Incorrect default value (typo) in hdfs-default.xml 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-9578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaobing Zhou reassigned HDFS-9578: ----------------------------------- Assignee: Xiaobing Zhou > Incorrect default value (typo) in hdfs-default.xml > -------------------------------------------------- > > Key: HDFS-9578 > URL: https://issues.apache.org/jira/browse/HDFS-9578 > Project: Hadoop HDFS > Issue Type: Bug > Components: documentation > Affects Versions: 2.6.2, 2.6.3 > Reporter: Tianyin Xu > Assignee: Xiaobing Zhou > Priority: Minor > > In {{hdfs-default.xml}}, the default value of {{dfs.datanode.readahead.bytes}} is wrong. > The value should be 4MB (4 * 1024 * 1024) according to the code, i.e., > {{4194304}}, > while in hdfs-default.xml, it is > {{4193404}}. > ---------------------------- > (src) > {code:title=DFSConfigKeys.java|borderStyle=solid} > 134 public static final String DFS_DATANODE_READAHEAD_BYTES_KEY = "dfs.datanode.readahead.bytes"; > 135 public static final long DFS_DATANODE_READAHEAD_BYTES_DEFAULT = 4 * 1024 * 1024; // 4MB > {code} > (hdfs-default.xml) > https://hadoop.apache.org/docs/r2.6.2/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml -- This message was sent by Atlassian JIRA (v6.3.4#6332)