Index: hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java =================================================================== --- hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java (revision 1407721) +++ hbase-server/src/test/java/org/apache/hadoop/hbase/catalog/TestMetaMigrationConvertingToPB.java (working copy) @@ -105,8 +105,7 @@ 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()}); @@ -152,7 +151,7 @@ throws Exception { // Run the 'put' command. int errcode = shell.run(args); - if (errcode != 0) throw new IOException("Failed put; errcode=" + errcode); + if (errcode != 0) throw new IOException("Failed; errcode=" + errcode + " " + args[1]); } /**