[
https://issues.apache.org/jira/browse/HDFS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864599#action_12864599
]
Eli Collins commented on HDFS-1132:
-----------------------------------
Test failures are for other tests and seem unrelated:
org.apache.hadoop.hdfs.server.datanode.TestDiskError:
{noformat}
2010-05-05 22:23:00,877 FATAL conf.Configuration
(Configuration.java:loadResource(1508))
- error parsing conf file: java.util.zip.ZipException: error reading zip file
{noformat}
org.apache.hadoop.hdfs.server.namenode.TestNodeCount:
{noformat}
java.lang.NullPointerException
at
org.apache.hadoop.hdfs.server.namenode.BlockManager.countNodes(BlockManager.java:1372)
at
org.apache.hadoop.hdfs.server.namenode.TestNodeCount.testNodeCount(TestNodeCount.java:119)
{noformat}
> Refactor TestFileStatus
> -----------------------
>
> Key: HDFS-1132
> URL: https://issues.apache.org/jira/browse/HDFS-1132
> Project: Hadoop HDFS
> Issue Type: Test
> Components: test
> Affects Versions: 0.22.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: hdfs-1132-1.patch, hdfs-1132-2.patch
>
>
> When writing HADOOP-6585 I noticed TestFileStatus is an old test with just
> one monolithic test function. We should rewrite it as a junit4 style test and
> break up the functions into setup, teardown, and five individual test cases.
> Same tests being run, just easier to follow, modify and add news tests. Patch
> coming.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.