HBASE-5631 ADDENDUM (extra comments)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1382627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2012-09-10 03:05:05 +00:00
parent 43bfefc370
commit 7fdcc4c87c
1 changed files with 2 additions and 2 deletions

View File

@ -432,7 +432,7 @@ public class TestHBaseFsck {
HBaseFsck hbck = doFsck(conf, false); HBaseFsck hbck = doFsck(conf, false);
assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.NO_TABLEINFO_FILE }); assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.NO_TABLEINFO_FILE });
// fix OrphanTable with default .tableinfo // fix OrphanTable with default .tableinfo (htd not yet cached on master)
hbck = doFsck(conf, true); hbck = doFsck(conf, true);
assertNoErrors(hbck); assertNoErrors(hbck);
status = null; status = null;
@ -447,7 +447,7 @@ public class TestHBaseFsck {
fs.delete(status.getPath(), true); fs.delete(status.getPath(), true);
// fix OrphanTable with cache // fix OrphanTable with cache
htd = admin.getTableDescriptor(table.getBytes()); htd = admin.getTableDescriptor(table.getBytes()); // warms up cached htd on master
hbck = doFsck(conf, true); hbck = doFsck(conf, true);
assertNoErrors(hbck); assertNoErrors(hbck);
status = null; status = null;