diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java index 0a4d36c8d90..132f15da450 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java @@ -482,7 +482,7 @@ public class HBaseFsck extends Configured implements Tool { String tableName = Bytes.toString(hi.getTableName()); TableInfo tableInfo = tablesInfo.get(tableName); - Preconditions.checkNotNull("Table " + tableName + "' not present!", tableInfo); + Preconditions.checkNotNull(tableInfo, "Table '" + tableName + "' not present!"); HTableDescriptor template = tableInfo.getHTD(); // find min and max key values