Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.16.1
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            People

            • Assignee:
              tnelson Tim Nelson
              Reporter:
              gudok Andrew Gudkov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: