hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Sasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8702) Erasure coding: update BlockManager.blockHasEnoughRacks(..) logic for striped block
Date Wed, 08 Jul 2015 23:52:05 GMT

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

Kai Sasaki commented on HDFS-8702:
----------------------------------

This is the initial patch. The logic of deciding whether there are enough racks or not is
based on the discussion of HDFS-7613.

In addition to this, I have a question about the unit test. {{TestBlocksWithNotEnoughRacks}}
seems to be the unit test of {{BlockManager#blockHasEnoughRacks}}. This tests has not supported
erasure coding file yet. As {{DFSTestUtil}} is also used in this test, is it necessary to
update these classes or is there any other way to test rack sufficiency of erasure coding
file?

> Erasure coding: update BlockManager.blockHasEnoughRacks(..) logic for striped block
> -----------------------------------------------------------------------------------
>
>                 Key: HDFS-8702
>                 URL: https://issues.apache.org/jira/browse/HDFS-8702
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Walter Su
>            Assignee: Kai Sasaki
>         Attachments: HDFS-8702-HDFS-7285.00.patch
>
>
> Currently blockHasEnoughRacks(..) only guarantees 2 racks. Logic needs updated for striped
blocks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message