Description
The following findbugs warning came up recently although there was no recent change of the code.
- ReplaceDatanodeOnFailure$Policy defines non-transient non-serializable instance field condition
Bug type SE_BAD_FIELD (click for details)
In class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure$Policy
Field org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure$Policy.condition
In ReplaceDatanodeOnFailure.java
Attachments
Attachments
Issue Links
- relates to
-
HDFS-7194 Fix findbugs "inefficient new String constructor" warning in DFSClient#PATH
- Closed