tagus wang created HIVE-5100:
--------------------------------

             Summary:  RCFile::sync(long)  missing 1 byte in System.arraycopy()
                 Key: HIVE-5100
                 URL: https://issues.apache.org/jira/browse/HIVE-5100
             Project: Hive
          Issue Type: Bug
            Reporter: tagus wang


this has a bug in this:
System.arraycopy(buffer, buffer.length - prefix - 1, buffer, 0, prefix);
it should be 
System.arraycopy(buffer, buffer.length - prefix, buffer, 0, prefix);
it is missing 1 byte at the end.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to