[ 
https://issues.apache.org/jira/browse/HBASE-11032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975376#comment-13975376
 ] 

Ted Yu commented on HBASE-11032:
--------------------------------

With the above change, testFailedToCreateHLogIfParentRenamed would still fail, 
right (assuming createNonRecursive() is replaced) ?

As I mentioned earlier, DistributedFileSystem#create() wouldn't throw exception 
if parent dir is missing.

I think we can leave the replacement of  fs.createNonRecursive() to another 
issue.

> Replace deprecated methods in FileSystem with their replacements
> ----------------------------------------------------------------
>
>                 Key: HBASE-11032
>                 URL: https://issues.apache.org/jira/browse/HBASE-11032
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Gustavo Anatoly
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-11032.patch
>
>
> FileStatus#isDir() is deprecated.
> FileStatus#isDirectory() should be called instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to