Description
See the title. org.apache.hadoop.io.Text:getBytes() returns internal raw bytes. It should use with getLength()
/** * Returns the raw bytes; however, only data up to {@link #getLength()} is * valid. Please use {@link #copyBytes()} if you * need the returned array to be precisely the length of the data. */ @Override public byte[] getBytes() { return bytes; }
Attachments
Issue Links
- links to