From e7444b2a074797a7571d1623934acaae1bc6c2df Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Thu, 29 Mar 2012 01:16:02 +0000 Subject: [PATCH] HDFS-3160. httpfs should exec catalina instead of forking it. Contributed by Roman Shaposhnik git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1306665 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh | 4 ++-- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh index cefe11400d..c83a14363a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh @@ -55,8 +55,8 @@ if [ "${1}" = "stop" ]; then fi if [ "${HTTPFS_SILENT}" != "true" ]; then - ${HTTPFS_CATALINA_HOME}/bin/catalina.sh "$@" + exec ${HTTPFS_CATALINA_HOME}/bin/catalina.sh "$@" else - ${HTTPFS_CATALINA_HOME}/bin/catalina.sh "$@" > /dev/null + exec ${HTTPFS_CATALINA_HOME}/bin/catalina.sh "$@" > /dev/null fi diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 48bb613e50..225641c631 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -767,6 +767,9 @@ Release 0.23.2 - UNRELEASED HDFS-3101. Cannot read empty file using WebHDFS. (szetszwo) + HDFS-3160. httpfs should exec catalina instead of forking it. + (Roman Shaposhnik via eli) + Release 0.23.1 - 2012-02-17 INCOMPATIBLE CHANGES