[
https://issues.apache.org/jira/browse/HDFS-7951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367756#comment-14367756
]
Arpit Agarwal commented on HDFS-7951:
-------------------------------------
+1 for the patch. Verified it on Windows and OS X (Linux covered by Jenkins). I
will commit it shortly.
> Fix NPE for TestFsDatasetImpl#testAddVolumeFailureReleasesInUseLock on Linux
> ----------------------------------------------------------------------------
>
> Key: HDFS-7951
> URL: https://issues.apache.org/jira/browse/HDFS-7951
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: test
> Affects Versions: 2.6.0
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Attachments: HDFS-7951.00.patch
>
>
> {code}
> acquired by nodename [email protected]
> 2015-03-18 01:07:06,036 WARN common.Util (Util.java:stringAsURI(56)) - Path
> target/test/data/iFEYz7UKAU/bad should be specified as a URI in configuration
> files. Please update hdfs configuration.
> java.lang.NullPointerException
> at
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.addVolume(FsDatasetImpl.java:403)
> at
> org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetImpl.testAddVolumeFailureReleasesInUseLock(TestFsDatasetImpl.java:344)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)