From 5807065a5b0719fb7fbb32dcbe2177ce3c1b2644 Mon Sep 17 00:00:00 2001 From: Konstantin Boudnik Date: Thu, 17 Jun 2010 01:34:08 +0000 Subject: [PATCH] HADOOP-6828. Herrior uses old way of accessing logs directories. Contributed by Sreekanth Ramakrishnan git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@955438 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 3 +++ .../aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1f5243d0d7..2603827782 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -999,6 +999,9 @@ Release 0.21.0 - Unreleased BUG FIXES + HADOOP-6828. Herrior uses old way of accessing logs directories (Sreekanth + Ramakrishnan via cos) + HADOOP-6788. [Herriot] Exception exclusion functionality is not working correctly. (Vinay Thota via cos) diff --git a/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj b/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj index f009c53808..23860d2bfb 100644 --- a/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj +++ b/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj @@ -245,8 +245,8 @@ public aspect DaemonProtocolAspect { public String DaemonProtocol.getFilePattern() { //We use the environment variable HADOOP_LOGFILE to get the //pattern to use in the search. - String logDir = System.getenv("HADOOP_LOG_DIR"); - String daemonLogPattern = System.getenv("HADOOP_LOGFILE"); + String logDir = System.getProperty("hadoop.log.dir"); + String daemonLogPattern = System.getProperty("hadoop.log.file"); if(daemonLogPattern == null && daemonLogPattern.isEmpty()) { return "*"; }