[ 
https://issues.apache.org/jira/browse/HADOOP-11244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188833#comment-14188833
 ] 

jay vyas commented on HADOOP-11244:
-----------------------------------

Another clue  Seems that these tests are being skipped in the hadoop build when 
i run "mvn test -Dtest=org.apache.hadoop.fs.contract.rawlocal.*"  .... looking 
further now.  My original assumption was that all these tests ran, so the error 
must be on your end :) .  but clearly, that might not be the case. 
 
{noformat} 
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractOpen
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.707 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractOpen
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractDelete
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.694 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractDelete
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractAppend
Tests run: 5, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 0.673 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractAppend
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractMkdir
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.634 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractMkdir
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractSeek
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.974 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractSeek
Running 
org.apache.hadoop.fs.contract.rawlocal.TestRawLocalContractUnderlyingFileBehavior
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawLocalContractUnderlyingFileBehavior
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractCreate
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.682 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractCreate
Running org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractRename
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.681 sec - in 
org.apache.hadoop.fs.contract.rawlocal.TestRawlocalContractRename
{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)

Reply via email to