[ https://issues.apache.org/jira/browse/HDFS-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647231#comment-13647231 ]
Ted Yu commented on HDFS-4774: ------------------------------ I got the following test failures running test suite: {code} [junit] Test org.apache.hadoop.fs.TestFsShellReturnCode FAILED [junit] Test org.apache.hadoop.hdfs.server.namenode.TestNNThroughputBenchmark FAILED [junit] Test org.apache.hadoop.hdfs.server.balancer.TestBalancerWithNodeGroup FAILED [junit] Test org.apache.hadoop.tools.rumen.TestRumenJobTraces FAILED [junit] Test org.apache.hadoop.mapred.TestFairSchedulerPoolNames FAILED {code} In TEST-org.apache.hadoop.hdfs.server.namenode.TestNNThroughputBenchmark.txt, I found: {code} 2013-05-02 03:14:31,718 ERROR namenode.NNThroughputBenchmark (NNThroughputBenchmark.java:runBenchmark(1206)) - java.io.IOException: NNThroughputBenchmark: cannot mkdir build/test/dfs/hosts/exclude at org.apache.hadoop.hdfs.server.namenode.NNThroughputBenchmark.<init>(NNThroughputBenchmark.java:106) at org.apache.hadoop.hdfs.server.namenode.NNThroughputBenchmark.runBenchmark(NNThroughputBenchmark.java:1163) at org.apache.hadoop.hdfs.server.namenode.TestNNThroughputBenchmark.testNNThroughput(TestNNThroughputBenchmark.java:38) {code} I am not sure if the test failures were related to my patch. Here is the OS: Linux 2.6.32-220.23.1.el6.YAHOO.20120713.x86_64 #1 SMP Fri Jul 13 11:40:51 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux > Backport HDFS-4525 'Provide an API for knowing whether file is closed or not' > to branch-1 > ----------------------------------------------------------------------------------------- > > Key: HDFS-4774 > URL: https://issues.apache.org/jira/browse/HDFS-4774 > Project: Hadoop HDFS > Issue Type: New Feature > Components: hdfs-client, namenode > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 4774.txt, 4774-v2.txt, 4774-v3.txt > > > HDFS-4525 compliments lease recovery API which allows user to know whether > the recovery has completed. > This JIRA backports the API to branch-1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira