hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huned Lokhandwala (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4590) Add more Unit Test Case for HDFS-3701 HDFS Miss Final Block Reading when File is Open for Write
Date Mon, 11 Mar 2013 23:27:13 GMT
Huned Lokhandwala created HDFS-4590:
---------------------------------------

             Summary: Add more Unit Test Case for HDFS-3701 HDFS Miss Final Block Reading
when File is Open for Write
                 Key: HDFS-4590
                 URL: https://issues.apache.org/jira/browse/HDFS-4590
             Project: Hadoop HDFS
          Issue Type: Test
          Components: hdfs-client
    Affects Versions: 1.0.3
         Environment: Java Unit Test Case
            Reporter: Huned Lokhandwala
            Priority: Minor
             Fix For: 1.1.0


Add more Java Unit Test Coverage for the feature HDFS-3701 where the file is opened for writing,
the DFSClient calls one of the datanode owning the last block to get its size. If this datanode
is dead, the socket exception is shallowed and the size of this last block is equals to zero.
Add a unit test case to write to a file, shutdown the datanodes, and then try to read from
the file and expect an Exception. On 1.1.0 it will produce the exception as expected, but
on 1.0.3 it will return a file length of zero after read.

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

Mime
View raw message