From 8c03a079df78fd094b27025a6f700e4d99428ea4 Mon Sep 17 00:00:00 2001 From: Yongjun Zhang Date: Fri, 19 Jun 2015 09:47:31 -0700 Subject: [PATCH] HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys. Contributed by Ray Chiang. (cherry picked from commit b42f1ec13d0a837f188cf424a8dd177720478cc9) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 9abe1d8e721..9270c074152 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -137,6 +137,9 @@ Release 2.7.1 - UNRELEASED HDFS-4660. Block corruption can happen during pipeline recovery (kihwal) + HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml + to match DFSConfigKeys. (Ray Chiang via Yongjun Zhang) + Release 2.7.0 - 2015-04-20 INCOMPATIBLE CHANGES 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 43fa129b9b1..2b51d2d1e63 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 @@ -1044,7 +1044,7 @@ dfs.datanode.readahead.bytes - 4193404 + 4194304 While reading block files, if the Hadoop native libraries are available, the datanode can use the posix_fadvise system call to explicitly