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();
|
||||
if (!fs.isDirectory(hbaseRootDir.getParent())) {
|
||||
// mkdir at first
|
||||
doFsCommand(shell,
|
||||
new String [] {"-mkdir", hbaseRootDir.getParent().toString()});
|
||||
fs.mkdirs(hbaseRootDir.getParent());
|
||||
}
|
||||
doFsCommand(shell,
|
||||
new String [] {"-put", untar.toURI().toString(), hbaseRootDir.toString()});
|
||||
|
|
Loading…
Reference in New Issue