You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by co...@apache.org on 2010/06/17 03:34:08 UTC

svn commit: r955438 - in /hadoop/common/trunk: CHANGES.txt src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj

Author: cos
Date: Thu Jun 17 01:34:08 2010
New Revision: 955438

URL: http://svn.apache.org/viewvc?rev=955438&view=rev
Log:
HADOOP-6828. Herrior uses old way of accessing logs directories. Contributed by Sreekanth Ramakrishnan

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=955438&r1=955437&r2=955438&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Thu Jun 17 01:34:08 2010
@@ -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)
 

Modified: hadoop/common/trunk/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj?rev=955438&r1=955437&r2=955438&view=diff
==============================================================================
--- hadoop/common/trunk/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj (original)
+++ hadoop/common/trunk/src/test/system/aop/org/apache/hadoop/test/system/DaemonProtocolAspect.aj Thu Jun 17 01:34:08 2010
@@ -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 "*";
     }