From 31c7f73f7b2d9f65228069d077dbf6832e4e29b6 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Sat, 7 Jul 2012 22:35:39 +0000 Subject: [PATCH] HDFS-3604. Add dfs.webhdfs.enabled to hdfs-default.xml. Contributed by Eli Collins git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1358660 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 450c8ce72a7..fc7c10c656c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -99,6 +99,8 @@ Release 2.0.1-alpha - UNRELEASED HDFS-3170. Add more useful metrics for write latency (Matthew Jacobs via todd) + HDFS-3604. Add dfs.webhdfs.enabled to hdfs-default.xml. (eli) + OPTIMIZATIONS HDFS-2982. Startup performance suffers when there are many edit log 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 3bf11b49280..27f3b9e522f 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 @@ -901,4 +901,12 @@ + + dfs.webhdfs.enabled + false + + Enable WebHDFS (REST API) in Namenodes and Datanodes. + + +