hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11005) Ozone: TestBlockPoolManager fails in ozone branch.
Date Wed, 26 Oct 2016 00:14:58 GMT

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

Arpit Agarwal commented on HDFS-11005:
--------------------------------------

[~vagarychen] just pointed out offline that using the immutable Collections.emptyMap would
not work here.

The v1 patch looks like the simplest correct fix. There are two extra map allocations but
refreshing the list of namenodes will be a very rare operation. [~xyao] are you okay with
the v1 patch?

> Ozone: TestBlockPoolManager fails in ozone branch.
> --------------------------------------------------
>
>                 Key: HDFS-11005
>                 URL: https://issues.apache.org/jira/browse/HDFS-11005
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Chen Liang
>         Attachments: HDFS-11005-HDFS-7240.001.patch, HDFS-11005-HDFS-7240.002.patch
>
>
> TestBlockPoolManager.testFederationRefresh  fails in the ozone branch with the following
error message.
> {noformat}
> Running org.apache.hadoop.hdfs.server.datanode.TestBlockPoolManager
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.231 sec <<<
FAILURE! - in org.apache.hadoop.hdfs.server.datanode.TestBlockPoolManager
> testFederationRefresh(org.apache.hadoop.hdfs.server.datanode.TestBlockPoolManager)  Time
elapsed: 0.043 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<stop #[1
> refresh #2]
> > but was:<stop #[2
> refresh #1]
> >
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.hdfs.server.datanode.TestBlockPoolManager.testFederationRefresh(TestBlockPoolManager.java:123)
> Results :
> Failed tests:
>   TestBlockPoolManager.testFederationRefresh:123 expected:<stop #[1
> refresh #2]
> > but was:<stop #[2
> refresh #1]
> >
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message