hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5100) RCFile::sync(long) missing 1 byte in System.arraycopy()
Date Mon, 26 Aug 2013 16:56:56 GMT

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

Hudson commented on HIVE-5100:
------------------------------

FAILURE: Integrated in Hive-trunk-hadoop1-ptest #138 (See [https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/138/])
HIVE-5100 :  RCFile::sync(long)  missing 1 byte in System.arraycopy() (Gopal V via Ashutosh
Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1517547)
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/RCFile.java
* /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/io/TestRCFile.java

                
>  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
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5100-001.patch, HIVE-5100.01.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

Mime
View raw message