hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-7946) TestDataNodeVolumeFailureReporting NPE during tearDown() on Windows
Date Wed, 18 Mar 2015 00:10:38 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HDFS-7946:
-----------------------------
    Status: Patch Available  (was: Open)

> TestDataNodeVolumeFailureReporting NPE during tearDown() on Windows
> -------------------------------------------------------------------
>
>                 Key: HDFS-7946
>                 URL: https://issues.apache.org/jira/browse/HDFS-7946
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>         Environment: Windows
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>         Attachments: HDFS-7946.00.patch
>
>
> TestDataNodeVolumeFailureReporting has a pre-test setUp that assumeTrue(!Path.WINDOWS)
but the post-test tearDown() does not. This triggers NPE when closing cluster.
> testSuccessiveVolumeFailures(org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting)
 Time elapsed: 0.267 sec  <<< ERROR!
> org.junit.internal.AssumptionViolatedException: got: <false>, expected: is <true>
> 	at org.junit.Assume.assumeThat(Assume.java:95)
> 	at org.junit.Assume.assumeTrue(Assume.java:41)
> 	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting.setUp(TestDataNodeVolumeFailureReporting.java:83)
> testSuccessiveVolumeFailures(org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting)
 Time elapsed: 0.267 sec  
> <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting.tearDown(TestDataNodeVolumeFailureReporting.java:103)



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

Mime
View raw message