[ https://issues.apache.org/jira/browse/HBASE-7143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494834#comment-13494834 ]
Ted Yu commented on HBASE-7143: ------------------------------- >From DistributedFileSystem.mkdirs() in trunk: {code} public boolean mkdirs(Path f, FsPermission permission) throws IOException { statistics.incrementWriteOps(1); return dfs.mkdirs(getPathName(f), permission, true); } {code} The last parameter is createParent. In hadoop 1.1, DFSClient.mkdirs(String src, FsPermission permission): {code} * Create a directory (or hierarchy of directories) with the given * name and permission. {code} So fs.mkdirs() has consistent behavior. > TestMetaMigrationRemovingHTD fails when used with Hadoop 0.23/2.x > ----------------------------------------------------------------- > > Key: HBASE-7143 > URL: https://issues.apache.org/jira/browse/HBASE-7143 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.94.2 > Reporter: Andrey Klochkov > Fix For: 0.94.3 > > Attachments: 7143-trunk-v2.txt, HBASE-7143-0.94.patch, > HBASE-7143-trunk.patch > > > TestMetaMigrationRemovingHTD fails when build is done with > "-Dhadoop.profile=23" option. > The reason is the changes of defaults in "-mkdir" CLI call. In 0.23/2.x, it > doesn't create parent directories by default anymore. > The patch will be submitted shortly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira