[
https://issues.apache.org/jira/browse/HDFS-7267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360309#comment-14360309
]
Walter Su commented on HDFS-7267:
---------------------------------
{quote}
There is bunch of NPEs.
{quote}
That's because balancer tries to move block from DN0 to DN1 but there is no
such block in DN0. So DN0's DataXceiver simulatedFSDataset.getPinning() throws
exception, and didn't return any response. Client side(Sender.java) throws
premature EOF exception, because DN0 close the connection earlier.
I'll keep analysis why balancer tries to move a block didn't exists on DN0 on
Monday.
> TestBalancer#testUnknownDatanode occasionally fails in trunk
> ------------------------------------------------------------
>
> Key: HDFS-7267
> URL: https://issues.apache.org/jira/browse/HDFS-7267
> Project: Hadoop HDFS
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Walter Su
> Priority: Minor
> Attachments: testUnknownDatanode-failed-log.html
>
>
> In build #1907 (https://builds.apache.org/job/Hadoop-Hdfs-trunk/1907/):
> {code}
> REGRESSION:
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.testUnknownDatanode
> Error Message:
> expected:<0> but was:<-3>
> Stack Trace:
> java.lang.AssertionError: expected:<0> but was:<-3>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at
> org.apache.hadoop.hdfs.server.balancer.TestBalancer.testUnknownDatanode(TestBalancer.java:737)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)