You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Martin Petricek (JIRA)" <ji...@apache.org> on 2015/09/29 14:34:04 UTC
[jira] [Created] (MAPREDUCE-6496) Incorrect javadoc in
WritableUtils.java
Martin Petricek created MAPREDUCE-6496:
------------------------------------------
Summary: Incorrect javadoc in WritableUtils.java
Key: MAPREDUCE-6496
URL: https://issues.apache.org/jira/browse/MAPREDUCE-6496
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 2.7.1
Reporter: Martin Petricek
Priority: Minor
Documentation for writeVLong in WritableUtils states that "For
-112 <= i <= 127, only one byte is used"
Documentation for writeVInt states that "For -120 <= i <= 127, only one byte is used"
writeVInt calls internally writeVLong, so the ranges are the same for both functions.
After examining the code, I see that the documentation that is at writeVLong is correct.
Documentation for writeVInt is therefore incorrect and should be fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)