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-9252) Change TestFileTruncate to use FsDatasetTestUtils to get block file size and genstamp.
Date Wed, 28 Oct 2015 00:06:27 GMT

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

Hadoop QA commented on HDFS-9252:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply the patch during
dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12767632/HDFS-9252.02.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / 68ce93c |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/13235/console |


This message was automatically generated.

> Change TestFileTruncate to use FsDatasetTestUtils to get block file size and genstamp.
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-9252
>                 URL: https://issues.apache.org/jira/browse/HDFS-9252
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.7.1
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-9252.00.patch, HDFS-9252.01.patch, HDFS-9252.02.patch
>
>
> {{TestFileTruncate}} verifies block size and genstamp by directly accessing the  local
filesystem, e.g.:
> {code}
> assertTrue(cluster.getBlockMetadataFile(dn0,
>    newBlock.getBlock()).getName().endsWith(
>    newBlock.getBlock().getGenerationStamp() + ".meta"));
> {code}
> Lets abstract the fsdataset-special logic behind FsDatasetTestUtils.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message