Wei-Chiu Chuang created HADOOP-16386: ----------------------------------------
Summary: FindBugs warning in branch-2: GlobalStorageStatistics defines non-transient non-serializable instance field map Key: HADOOP-16386 URL: https://issues.apache.org/jira/browse/HADOOP-16386 Project: Hadoop Common Issue Type: Bug Components: fs Affects Versions: 2.10.0 Reporter: Wei-Chiu Chuang Found in HDFS-14585 https://builds.apache.org/job/PreCommit-HDFS-Build/27024/artifact/out/branch-findbugs-hadoop-common-project_hadoop-common-warnings.html#Warnings_BAD_PRACTICE {quote}Class org.apache.hadoop.fs.GlobalStorageStatistics defines non-transient non-serializable instance field map Bug type SE_BAD_FIELD (click for details) In class org.apache.hadoop.fs.GlobalStorageStatistics Field org.apache.hadoop.fs.GlobalStorageStatistics.map Actual type org.apache.hadoop.fs.StorageStatistics In GlobalStorageStatistics.java{quote} {quote}SE_BAD_FIELD: Non-transient non-serializable instance field in serializable class This Serializable class defines a non-primitive instance field which is neither transient, Serializable, or java.lang.Object, and does not appear to implement the Externalizable interface or the readObject() and writeObject() methods. Objects of this class will not be deserialized correctly if a non-Serializable object is stored in this field.{quote} Looking in my inbox, this warning has been there since Feburary 9, 2019 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org