You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2012/10/17 00:27:02 UTC

[jira] [Created] (HDFS-4065) TestDFSShell.testGet sporadically fails attempting to corrupt block files due to race condition

Chris Nauroth created HDFS-4065:
-----------------------------------

             Summary: TestDFSShell.testGet sporadically fails attempting to corrupt block files due to race condition
                 Key: HDFS-4065
                 URL: https://issues.apache.org/jira/browse/HDFS-4065
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 1-win
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


TestDFSShell.testGet attempts to simulate corruption of block files in order to test hadoop fs -get with the -ignoreCrc option.  It is possible that the data node's DataXceiver thread has not yet closed the block file.  This causes a locking violation on Windows, so the test fails.

--
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

[jira] [Resolved] (HDFS-4065) TestDFSShell.testGet sporadically fails attempting to corrupt block files due to race condition

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-4065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas resolved HDFS-4065.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1-win
     Hadoop Flags: Reviewed

I committed the patch to branch-1-win. Thank you Chris.
                
> TestDFSShell.testGet sporadically fails attempting to corrupt block files due to race condition
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4065
>                 URL: https://issues.apache.org/jira/browse/HDFS-4065
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1-win
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 1-win
>
>         Attachments: HDFS-4065-branch-1-win.patch
>
>
> TestDFSShell.testGet attempts to simulate corruption of block files in order to test hadoop fs -get with the -ignoreCrc option.  It is possible that the data node's DataXceiver thread has not yet closed the block file.  This causes a locking violation on Windows, so the test fails.

--
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