Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change, Reviewed
-
The config key "dfs.namenode.fs-limits.max-xattr-size" can no longer be set to a value of 0 (previously used to indicate unlimited) or a value greater than 32KB. This is a constraint on xattr size similar to many local filesystems.
Description
private final ImmutableList<XAttr> xAttrs;
Currently we use above in XAttrFeature, it's not efficient from memory point of view, since ImmutableList and XAttr have object memory overhead, and each object has memory alignment.
We can use a byte[] in XAttrFeature and do some compact in XAttr.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-8963 Fix incorrect sign extension of xattr length in HDFS-8900
- Resolved