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

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

The test failure is reproducible.
>From DistributedFileSystem#createNonRecursive() :
{code}
        return new HdfsDataOutputStream(dfs.create(getPathName(p), permission,
            flag, false, replication, blockSize, progress, bufferSize, null),
{code}
The fourth parameter means whether parent should be created.
In DistributedFileSystem#create(), true is passed. Hence, assertion in 
testFailedToCreateHLogIfParentRenamed fails:
{code}
      HLogFactory.createWALWriter(fs, path, conf);
      fail("It should fail to create the new WAL");
{code}

> 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