Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Duplicate
-
3.1.0, 2.7.7
-
None
-
None
Description
The comment of class INodeId is misleading. In the comment, Id 1 to 1000 are reserved for potential future usage, but code{{public static final long LAST_RESERVED_ID = 2 << 14 - 1}} will result 1 to 16384 are reserved. At the same time , operator '-' priority is higher than '<<', 2 << 14 - 1 is not equal to (2 <<14) - 1.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-12245 Fix INodeId javadoc
- Resolved