[
https://issues.apache.org/jira/browse/HDFS-8412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uma Maheswara Rao G updated HDFS-8412:
--------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks [~busbey], [~hitliuyi] for the reviews. I have just committed this to
trunk.
> Fix the test failures in HTTPFS: In some tests setReplication called after fs
> close.
> ------------------------------------------------------------------------------------
>
> Key: HDFS-8412
> URL: https://issues.apache.org/jira/browse/HDFS-8412
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: fs
> Reporter: Uma Maheswara Rao G
> Assignee: Uma Maheswara Rao G
> Fix For: 3.0.0
>
> Attachments: HDFS-8412-0.patch
>
>
> Currently 2 HTTFS test cases failing due to filesystem open check in fs
> operations
> This is the JIRA fix these failures.
> Failure seems like
> test case is closing fs first and then doing operation. Ideally such test
> could pas earlier as dfsClient was just contacting with NN directly. But that
> particular closed client will not be useful for any other ops like
> read/write. So, usage should be corrected here IMO.
> {code}
> fs.close();
> fs.setReplication(path, (short) 2);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)