Description
It seems HDFS-12840 creates a new findbugs warning.
Possible null pointer dereference of replication in org.apache.hadoop.hdfs.server.namenode.INodeFile$HeaderFormat.getBlockLayoutRedundancy(BlockType, Short, Byte)
Bug type NP_NULL_ON_SOME_PATH (click for details)
In class org.apache.hadoop.hdfs.server.namenode.INodeFile$HeaderFormat
In method org.apache.hadoop.hdfs.server.namenode.INodeFile$HeaderFormat.getBlockLayoutRedundancy(BlockType, Short, Byte)
Value loaded from replication
Dereferenced at INodeFile.java:[line 210]
Known null at INodeFile.java:[line 207]
From a quick look at the patch, it seems bogus though. eddyxuSammi would you please double check?
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-12840 Creating a file with non-default EC policy in a EC zone is not correctly serialized in the editlog
- Resolved