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
This commit is contained in:
Michael Stack 2008-05-07 17:31:29 +00:00
parent 20ee89aa4c
commit cfefc60bac
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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/*");