hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7878) Regression HADOOP-7777 switch changes break HDFS tests when the isSingleSwitch() predicate is used
Date Mon, 12 Dec 2011 15:06:30 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-7878:
-----------------------------------

          Resolution: Fixed
       Fix Version/s: 0.23.1
                      0.24.0
    Target Version/s: 0.24.0, 0.23.1  (was: 0.23.1, 0.24.0)
              Status: Resolved  (was: Patch Available)

Left the (now mostly redundant) tests in place just for regression testing
                
> Regression HADOOP-7777 switch changes break HDFS tests when the isSingleSwitch() predicate
is used
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7878
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7878
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>              Labels: regression
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: HADOOP-7878.patch, HADOOP-7878.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> This doesn't show up until you apply the HDFS-2492 patch, but the attempt to make the
{{StaticMapping}} topology clever by deciding if it is single rack or multi rack based on
its rack->node mapping breaks the HDFS {{TestBlocksWithNotEnoughRacks}} test. Why? Because
the racks go in after the switch topology is cached by the {{BlockManager}}, which assumes
the system is always single-switch.
> Fix: default to assuming multi-switch; remove the intelligence, add a setter for anyone
who really wants to simulate single-switch racks. 
> Test: verify that a newly created simple mapping is multi switch

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message