You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2016/11/03 08:03:58 UTC

[jira] [Created] (HDFS-11097) Fix the jenkins warning related to the deprecated method StorageReceivedDeletedBlocks

Yiqun Lin created HDFS-11097:
--------------------------------

             Summary: Fix the jenkins warning related to the deprecated method StorageReceivedDeletedBlocks
                 Key: HDFS-11097
                 URL: https://issues.apache.org/jira/browse/HDFS-11097
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin


After HDFS-6094, it updated the constrcut method of {{StorageReceivedDeletedBlocks}} and let it good to use. We can pass not only the storage type and state as well. But this new method isn't updated in some test case and it cause many warnings in each jenkins buildings. The part of warning infos:

{code}
[WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestIncrementalBrVariations.java:[175,12] [deprecation] StorageReceivedDeletedBlocks(String,ReceivedDeletedBlockInfo[]) in StorageReceivedDeletedBlocks has been deprecated
[WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java:[315,14] [deprecation] StorageReceivedDeletedBlocks(String,ReceivedDeletedBlockInfo[]) in StorageReceivedDeletedBlocks has been deprecated
[WARNING] /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestPendingReconstruction.java:[333,14] [deprecation] StorageReceivedDeletedBlocks(String,ReceivedDeletedBlockInfo[]) in StorageReceivedDeletedBlocks has been deprecated
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org