hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5668) TestBPOfferService.testBPInitErrorHandling fails intermittently
Date Fri, 13 Dec 2013 21:50:07 GMT
Jimmy Xiang created HDFS-5668:
---------------------------------

             Summary: TestBPOfferService.testBPInitErrorHandling fails intermittently
                 Key: HDFS-5668
                 URL: https://issues.apache.org/jira/browse/HDFS-5668
             Project: Hadoop HDFS
          Issue Type: Task
          Components: test
    Affects Versions: 3.0.0
            Reporter: Jimmy Xiang
            Assignee: Jimmy Xiang
            Priority: Minor


The new test introduced in HDFS-4201 is a little flaky. I got failures locally occasionally.
It could be related to how we did the mockup.

{noformat}
Exception in thread "DataNode: [file:/home/.../hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/testBPInitErrorHandling/data]
 heartbeating to 0.0.0.0/0.0.0.0:0" org.mockito.exceptions.misusing.WrongTypeOfReturnValue:
SimulatedFSDataset$$EnhancerByMockitoWithCGLIB$$5cb7c720 cannot be returned by getStorageId()
getStorageId() should return String
        at org.apache.hadoop.hdfs.server.datanode.BPOfferService.toString(BPOfferService.java:178)
        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.toString(BPServiceActor.java:133)
        at java.lang.String.valueOf(String.java:2854)
        at java.lang.StringBuilder.append(StringBuilder.java:128)
        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:723)
2013-12-13 13:42:03,119 DEBUG datanode.DataNode (BPServiceActor.java:sendHeartBeat(468)) -
Sending heartbeat from service actor: Block pool fake bpid (storage id null) service to 0.0.0.0/0.0.0.0:1
        at java.lang.Thread.run(Thread.java:722)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message