[ https://issues.apache.org/jira/browse/HDFS-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733448#action_12733448 ]
Tsz Wo (Nicholas), SZE commented on HDFS-483: --------------------------------------------- > ... it seems to be the only reference to this member. For the index, it is used in run(..) showed below for determining the pipeline position. {code} + public void run(DataNode datanode) { + final Pipeline p = DataTransferTestUtil.getPipeline(); + if (p.contains(index, datanode.dnRegistration)) { + throw new OutOfMemoryError("FI: " + currentTest + + ", datanode=" + datanode.dnRegistration.getName()); + } + } {code} > Data transfer (aka pipeline) implementation cannot tolerate exceptions > ---------------------------------------------------------------------- > > Key: HDFS-483 > URL: https://issues.apache.org/jira/browse/HDFS-483 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node, hdfs client > Reporter: Tsz Wo (Nicholas), SZE > Attachments: h483_20090709.patch, h483_20090713.patch, > h483_20090717.patch > > > Data transfer was tested with simulated exceptions as below: > # create files with dfs > # write 1 byte > # close file > # open the same file > # read the 1 byte and compare results > The file was closed successfully but we got an IOException(Could not get > block locations...) when the file was reopened for reading. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.