[ https://issues.apache.org/jira/browse/HDFS-11097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15632494#comment-15632494 ]
Yiqun Lin edited comment on HDFS-11097 at 11/3/16 11:42 AM: ------------------------------------------------------------ The latest jenkins's warnings related to the new construct method {{public StorageReceivedDeletedBlocks(final String storageID, final ReceivedDeletedBlockInfo[] blocks)}} have been all fixed(jenkins infos:https://builds.apache.org/job/PreCommit-HDFS-Build/17401/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt). The javadoc warnings is already existed. was (Author: linyiqun): The latest jenkins's warnings related to the new construct method {{public StorageReceivedDeletedBlocks(final DatanodeStorage storage, final ReceivedDeletedBlockInfo[] blocks)}} have been all fixed(jenkins infos:https://builds.apache.org/job/PreCommit-HDFS-Build/17401/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt). The javadoc warnings is already existed. > 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 > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org