hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11097) Fix the jenkins warning related to the deprecated method StorageReceivedDeletedBlocks
Date Fri, 04 Nov 2016 03:17:58 GMT

    [ https://issues.apache.org/jira/browse/HDFS-11097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15635074#comment-15635074
] 

Yiqun Lin commented on HDFS-11097:
----------------------------------

Thanks [~arpitagarwal] for the review and commit!

> 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
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         Attachments: HDFS-11097.001.patch, warn.txt
>
>
> 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


Mime
View raw message