[ 
https://issues.apache.org/jira/browse/HDFS-11354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Surendra Singh Lilhore updated HDFS-11354:
------------------------------------------
    Status: Patch Available  (was: Open)

Attached initial patch...

TestContext is closeable object and it will shoutdown the MiniDfsCluster in 
close method.

In this patch creating {{TestContext}} object in "try with resources" 
statement, so it will close the object..

Please review...
 

> TestBlockScanner#testAppendWhileScanning should shutdown the MiniDFSCluster
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-11354
>                 URL: https://issues.apache.org/jira/browse/HDFS-11354
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Minor
>         Attachments: HDFS-11354.001.patch
>
>
> {{TestBlockScanner}} failing in windows with this exception.
> {noformat}
> java.io.IOException: Could not fully delete 
> D:\hdc\hadoop-hdfs-project\hadoop-hdfs\target\test\data\dfs\name1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to