From cfefc60bac1f96bdc889cbba464541527370ab50 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 7 May 2008 17:31:29 +0000 Subject: [PATCH] HBASE-619 Fix 'logs' link in UI git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@654184 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + src/java/org/apache/hadoop/hbase/util/InfoServer.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 4ef7a984336..c077dfb8e5c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -32,6 +32,7 @@ Hbase Change Log for regression tests HBASE-405 TIF and TOF use log4j directly rather than apache commons-logging HBASE-618 We always compact if 2 files, regardless of the compaction threshold setting + HBASE-619 Fix 'logs' link in UI IMPROVEMENTS HBASE-559 MR example job to count table rows diff --git a/src/java/org/apache/hadoop/hbase/util/InfoServer.java b/src/java/org/apache/hadoop/hbase/util/InfoServer.java index 94b182a0d54..3bc2d91f327 100644 --- a/src/java/org/apache/hadoop/hbase/util/InfoServer.java +++ b/src/java/org/apache/hadoop/hbase/util/InfoServer.java @@ -73,7 +73,7 @@ public class InfoServer { String appDir = getWebAppsPath(); // Set up the context for "/logs/" if "hadoop.log.dir" property is defined. - String logDir = System.getProperty("hadoop.log.dir"); + String logDir = System.getProperty("hbase.log.dir"); if (logDir != null) { HttpContext logContext = new HttpContext(); logContext.setContextPath("/logs/*");