Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12465

Incorrect javadoc in WritableUtils.java

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              jagadesh.kiran Jagadesh Kiran N Assign to me
              Reporter:
              mpl Martin Petricek

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment