Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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?

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development