HBASE-7143 TestMetaMigrationRemovingHTD fails when used with Hadoop 0.23/2.x (Andrey Klochlov)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1408011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55163522e6
commit
dec4aea1f2
|
@ -105,8 +105,7 @@ public class TestMetaMigrationConvertingToPB {
|
||||||
Path hbaseRootDir = TEST_UTIL.getDefaultRootDirPath();
|
Path hbaseRootDir = TEST_UTIL.getDefaultRootDirPath();
|
||||||
if (!fs.isDirectory(hbaseRootDir.getParent())) {
|
if (!fs.isDirectory(hbaseRootDir.getParent())) {
|
||||||
// mkdir at first
|
// mkdir at first
|
||||||
doFsCommand(shell,
|
fs.mkdirs(hbaseRootDir.getParent());
|
||||||
new String [] {"-mkdir", hbaseRootDir.getParent().toString()});
|
|
||||||
}
|
}
|
||||||
doFsCommand(shell,
|
doFsCommand(shell,
|
||||||
new String [] {"-put", untar.toURI().toString(), hbaseRootDir.toString()});
|
new String [] {"-put", untar.toURI().toString(), hbaseRootDir.toString()});
|
||||||
|
|
Loading…
Reference in New Issue