[ https://issues.apache.org/jira/browse/HADOOP-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188901#comment-14188901 ]
jay vyas commented on HADOOP-11244: ----------------------------------- yup, something looks funy {noformat} ------------------------------------------------------- Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractAppend Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.823 sec <<< FAILURE! - in org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractAppend testRenameFileBeingAppended(org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractAppend) Time elapsed: 0.464 sec <<< ERROR! java.io.FileNotFoundException: renamed destination file does not exist: not found file:/home/jay/Development/hadoop-common/hadoop-common-project/hadoop-common/target/test/data/test/renamed in file:/home/jay/Development/hadoop-common/hadoo p-common-project/hadoop-common/target/test/data/test at org.apache.hadoop.fs.contract.ContractTestUtils.assertPathExists(ContractTestUtils.java:678) at org.apache.hadoop.fs.contract.AbstractFSContractTestBase.assertPathExists(AbstractFSContractTestBase.java:279) at org.apache.hadoop.fs.contract.AbstractContractAppendTest.testRenameFileBeingAppended(AbstractContractAppendTest.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74) Results : Tests in error: TestRawlocalContractAppend>AbstractContractAppendTest.testRenameFileBeingAppended:121->AbstractFSContractTestBase.assertPathExists:279 ยป FileNotFound {noformat} > The HCFS contract test testRenameFileBeingAppended doesn't do a rename > ---------------------------------------------------------------------- > > Key: HADOOP-11244 > URL: https://issues.apache.org/jira/browse/HADOOP-11244 > Project: Hadoop Common > Issue Type: Bug > Reporter: Noah Watkins > > The test AbstractContractAppendTest::testRenameFileBeingAppended appears to > assert the behavior of renaming a file opened for writing. However, the > assertion "assertPathExists("renamed destination file does not exist", > renamed);" fails because it appears that the file "renamed" is never created > (ostensibly it should be the "target" file that has been renamed). -- This message was sent by Atlassian JIRA (v6.3.4#6332)