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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to