hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-483) Data transfer (aka pipeline) implementation cannot tolerate exceptions
Date Tue, 21 Jul 2009 02:55:14 GMT

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


Mime
View raw message