Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
We should create a constant RpcConstants.CLIENT_ID_LENGTH rather than hard-coding the number 16 everywhere.
Sun Java coding style convention 10.3:
Numerical constants (literals) should not be coded directly, except for -1, 0, and 1, which can appear in a for loop as counter values.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-9822 create constant MAX_CAPACITY in RetryCache rather than hard-coding 16 in RetryCache constructor
- Resolved
-
HADOOP-9821 ClientId should have getMsb/getLsb methods
- Closed