From cbc87cd00d1fb80c31414092697a9963df180c72 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 22 Jul 2009 05:24:35 +0000 Subject: [PATCH] HBASE-1215 part 6; adding logging git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@796615 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/hadoop/hbase/util/MetaUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/hadoop/hbase/util/MetaUtils.java b/src/java/org/apache/hadoop/hbase/util/MetaUtils.java index fdda3db3ad4..08c06bdd19e 100644 --- a/src/java/org/apache/hadoop/hbase/util/MetaUtils.java +++ b/src/java/org/apache/hadoop/hbase/util/MetaUtils.java @@ -124,6 +124,7 @@ public class MetaUtils { HRegion meta = metaRegions.get(metaInfo.getRegionName()); if (meta == null) { meta = openMetaRegion(metaInfo); + LOG.info("META OPEN " + meta.toString()); this.metaRegions.put(metaInfo.getRegionName(), meta); } return meta; @@ -146,6 +147,7 @@ public class MetaUtils { } try { for (HRegion r: metaRegions.values()) { + LOG.info("META CLOSE " + r.toString()); r.close(); } } catch (IOException e) { @@ -505,4 +507,4 @@ public class MetaUtils { return Bytes.equals(n, HConstants.ROOT_TABLE_NAME) || Bytes.equals(n, HConstants.META_TABLE_NAME); } -} \ No newline at end of file +}