HBASE-5734 Change hbck sideline root (Jimmy Xiang)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1310625 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Hsieh 2012-04-06 22:41:10 +00:00
parent 20e281d7e1
commit 6d43887b88
1 changed files with 2 additions and 1 deletions

View File

@ -824,7 +824,8 @@ public class HBaseFsck {
private Path getSidelineDir() throws IOException {
Path hbaseDir = FSUtils.getRootDir(conf);
Path backupDir = new Path(hbaseDir.getParent(), hbaseDir.getName() + "-"
Path hbckDir = new Path(hbaseDir.getParent(), "hbck");
Path backupDir = new Path(hbckDir, hbaseDir.getName() + "-"
+ startMillis);
return backupDir;
}