[ https://issues.apache.org/jira/browse/HDFS-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jimmy Xiang updated HDFS-5668: ------------------------------ Component/s: (was: test) namenode > TestBPOfferService.testBPInitErrorHandling fails intermittently > --------------------------------------------------------------- > > Key: HDFS-5668 > URL: https://issues.apache.org/jira/browse/HDFS-5668 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > 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)