VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.16.1
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      As said in javadoc, Text.getBytes() returns "raw bytes", but nothing said that it returns internal array which length can be greater than Text.getLength().

      Maybe to provide toArray method, which will create new array of actual data?

      Attachments

        1. HADOOP-3119.patch
          0.5 kB
          Tim Nelson
        2. HADOOP-3119.patch
          0.5 kB
          Tim Nelson

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tnelson Tim Nelson
            gudok Andrei Gudkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment