[
https://issues.apache.org/jira/browse/HDFS-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HDFS-5666:
---------------------------------------
Description:
TestBPOfferService#testBPInitErrorHandling fails intermittently. We believe
it's because of inconsistent synchronization in BPOfferService.
stack trace:
{code}
Regression
org.apache.hadoop.hdfs.server.datanode.TestBPOfferService.testBPInitErrorHandling
Failing for the past 1 build (Since #5698 )
Took 0.16 sec.
Error Message
expected:<1> but was:<2>
Stacktrace
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
{code}
see
https://builds.apache.org/job/PreCommit-HDFS-Build/5698//testReport/org.apache.hadoop.hdfs.server.datanode/TestBPOfferService/testBPInitErrorHandling/
was:
Intermittent failure on this test:
{code}
Regression
org.apache.hadoop.hdfs.server.datanode.TestBPOfferService.testBPInitErrorHandling
Failing for the past 1 build (Since #5698 )
Took 0.16 sec.
Error Message
expected:<1> but was:<2>
Stacktrace
java.lang.AssertionError: expected:<1> but was:<2>
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
{code}
see
https://builds.apache.org/job/PreCommit-HDFS-Build/5698//testReport/org.apache.hadoop.hdfs.server.datanode/TestBPOfferService/testBPInitErrorHandling/
> Fix inconsistent synchronization in BPOfferService
> --------------------------------------------------
>
> Key: HDFS-5666
> URL: https://issues.apache.org/jira/browse/HDFS-5666
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Affects Versions: 2.4.0
> Reporter: Colin Patrick McCabe
> Assignee: Jimmy Xiang
> Priority: Minor
> Attachments: trunk-5666.patch, trunk-5666_v2.patch
>
>
> TestBPOfferService#testBPInitErrorHandling fails intermittently. We believe
> it's because of inconsistent synchronization in BPOfferService.
> stack trace:
> {code}
> Regression
> org.apache.hadoop.hdfs.server.datanode.TestBPOfferService.testBPInitErrorHandling
> Failing for the past 1 build (Since #5698 )
> Took 0.16 sec.
> Error Message
> expected:<1> but was:<2>
> Stacktrace
> java.lang.AssertionError: expected:<1> but was:<2>
> at org.junit.Assert.fail(Assert.java:93)
> at org.junit.Assert.failNotEquals(Assert.java:647)
> at org.junit.Assert.assertEquals(Assert.java:128)
> {code}
> see
> https://builds.apache.org/job/PreCommit-HDFS-Build/5698//testReport/org.apache.hadoop.hdfs.server.datanode/TestBPOfferService/testBPInitErrorHandling/
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)