You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Jinghui Wang (JIRA)" <ji...@apache.org> on 2014/06/20 02:30:24 UTC

[jira] [Created] (HDFS-6573) TestDeadDatanode#testDeadDatanode fails if debug flag is turned on for the unit test

Jinghui Wang created HDFS-6573:
----------------------------------

             Summary: TestDeadDatanode#testDeadDatanode fails if debug flag is turned on for the unit test
                 Key: HDFS-6573
                 URL: https://issues.apache.org/jira/browse/HDFS-6573
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: test
    Affects Versions: 2.4.0, 2.3.0, 2.2.0
            Reporter: Jinghui Wang
            Assignee: Jinghui Wang
            Priority: Minor
             Fix For: 2.4.0, 2.3.0, 2.2.0


o.a.h.hdfs.server.namenode.NameNodeRpcServer#blockReport calls a function in for debug mode, which uses the StorageBlockReport data passed in by the test TestDeadDatanode#testDeadDatanode. The report block list is an long array of size 3 in the test, but the blockReport expects the format of long array of size 5.



--
This message was sent by Atlassian JIRA
(v6.2#6252)