[ https://issues.apache.org/jira/browse/HDFS-8412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002396#comment-15002396 ]
Yongjun Zhang commented on HDFS-8412: ------------------------------------- Hi [~umamaheswararao], Thanks for your earlier work here. It seems you only committed to trunk but not branch-2, may I know if there is any concern so it's not done? I can cherry-pick to branch-2 if there is no concern. Thanks. > 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)