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
This commit is contained in:
parent
c6b8095b02
commit
5807065a5b
|
@ -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)
|
||||
|
||||
|
|
|
@ -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 "*";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue