hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7263) Snapshot read of an appended file returns more bytes than the file length.
Date Tue, 28 Oct 2014 01:54:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186218#comment-14186218

Hadoop QA commented on HDFS-7263:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision a16d022.

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

      {color:red}-1 javac{color}.  The applied patch generated 1265 javac compiler warnings
(more than the trunk's current 1264 warnings).

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs:


                                      The following test timeouts occurred in hadoop-hdfs-project/hadoop-hdfs:


    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/8556//testReport/
Javac warnings: https://builds.apache.org/job/PreCommit-HDFS-Build/8556//artifact/patchprocess/diffJavacWarnings.txt
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/8556//console

This message is automatically generated.

> Snapshot read of an appended file returns more bytes than the file length.
> --------------------------------------------------------------------------
>                 Key: HDFS-7263
>                 URL: https://issues.apache.org/jira/browse/HDFS-7263
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.5.0
>            Reporter: Konstantin Shvachko
>            Assignee: Tao Luo
>         Attachments: HDFS-7263.patch, HDFS-7263.patch, TestSnapshotRead.java
> The following sequence of steps will produce extra bytes, that should not be visible,
because they are not in the snapshot.
> * Create a file of size L, where {{L % blockSize != 0}}.
> * Create a snapshot
> * Append bytes to the file
> * Read file in the snapshot (not the current file)
> * You will see the bytes are read beoynd the original file size L

This message was sent by Atlassian JIRA

View raw message