You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2014/08/01 00:07:41 UTC

[05/50] [abbrv] git commit: [master] add more information in exception thrown from Store's constructor

[master] add more information in exception thrown from Store's constructor

Summary: For debugging the root cause of complains about missing column family directory on searchhbase003

Test Plan: N/A

Reviewers: rshroff, daviddeng, syyang, manukranthk

Reviewed By: manukranthk

Subscribers: hbase-eng@

Differential Revision: https://phabricator.fb.com/D1358620

git-svn-id: svn+ssh://tubbs/svnhive/hadoop/branches/titan/VENDOR.hbase/hbase-trunk@42601 e7acf4d4-3532-417f-9e73-7a9ae25a1f51


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d5640c10
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d5640c10
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d5640c10

Branch: refs/heads/0.89-fb
Commit: d5640c10241be58d9bbb7e799f3ecabf10d390eb
Parents: 2d7c39e
Author: fan <fa...@e7acf4d4-3532-417f-9e73-7a9ae25a1f51>
Authored: Mon Jun 2 10:31:21 2014 +0000
Committer: Elliott Clark <el...@fb.com>
Committed: Thu Jul 31 14:43:00 2014 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/hadoop/hbase/regionserver/Store.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d5640c10/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java b/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
index 52606df..bc45eb2 100644
--- a/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
+++ b/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
@@ -221,10 +221,10 @@ public class Store extends SchemaConfigured implements HeapSize,
       if (region != null) {
         LOG.info("Creating one");
         if (!this.fs.mkdirs(this.homedir))
-          throw new IOException("Failed create of: " + this.homedir.toString());
+          throw new IOException("Failed create of: " + this.homedir);
       } else {
-        throw new IOException("Failed create a read only store. " +
-            "Possibly an inconsistent region");
+        throw new IOException("Failed create a read only store on dir "
+            + this.homedir + " . Possibly an inconsistent region." );
       }
     }
     this.family = family;