You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/08/23 17:41:52 UTC

[jira] [Commented] (HIVE-5100) RCFile::sync(long) missing 1 byte in System.arraycopy()

    [ https://issues.apache.org/jira/browse/HIVE-5100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748643#comment-13748643 ] 

Ashutosh Chauhan commented on HIVE-5100:
----------------------------------------

+1 [~gopalv] Can you reupload the patch as per https://cwiki.apache.org/confluence/display/Hive/Hive+PreCommit+Patch+Testing for Hive QA to trigger.
                
>  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
>    Affects Versions: 0.12.0
>            Reporter: tagus wang
>            Assignee: Gopal V
>              Labels: regression
>         Attachments: HIVE-5100-001.patch
>
>
> 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