Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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:
[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
Attachments
Attachments
Issue Links
- relates to
-
HDFS-6094 The same block can be counted twice towards safe mode threshold
- Closed