hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9016) org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.skip(long) must never return negative value.
Date Thu, 24 Oct 2013 14:06:17 GMT

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

Hudson commented on HADOOP-9016:
--------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1588 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1588/])
HADOOP-9016. HarFsInputStream.skip(long) must never return negative value. (Ivan A. Veselovsky
via jeagles) (jeagles: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1535086)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
* /hadoop/common/trunk/hadoop-tools/hadoop-archives/src/test/java/org/apache/hadoop/tools/TestHadoopArchives.java


> org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.skip(long) must
never return negative value.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9016
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9016
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Ivan A. Veselovsky
>            Assignee: Ivan A. Veselovsky
>            Priority: Minor
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HADOOP-9016--b.patch, HADOOP-9016-branch-0.23--d.patch, HADOOP-9016-branch-0.23--e.patch,
HADOOP-9016--c.patch, HADOOP-9016--d.patch, HADOOP-9016--e.patch, HADOOP-9016--f.patch, HADOOP-9016.patch
>
>
> The patch fixes bug in method org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.skip(long):
> // the contract is described in java.io.InputStream.skip(long):
> // this method returns the number of bytes actually skipped, so,
> // the return value should never be negative. 
> The patch adds tests for the fixed functionality + other tests to cover other uncovered
methods of classes org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream,
> org.apache.hadoop.fs.HarFileSystem.HarFSDataInputStream.HarFsInputStream.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message