HDFS-7951. Fix NPE for TestFsDatasetImpl#testAddVolumeFailureReleasesInUseLock on Linux. (Contributed by Xiaoyu Yao)
This commit is contained in:
parent
d462c62755
commit
e817cedcdc
@ -1181,6 +1181,10 @@ Release 2.7.0 - UNRELEASED
|
||||
HDFS-7950. Fix TestFsDatasetImpl#testAddVolumes failure on Windows.
|
||||
(Xiaoyu Yao via Arpit Agarwal)
|
||||
|
||||
HDFS-7951. Fix NPE for
|
||||
TestFsDatasetImpl#testAddVolumeFailureReleasesInUseLock on Linux
|
||||
(Xiaoyu Yao via Arpit Agarwal)
|
||||
|
||||
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
||||
|
@ -330,7 +330,7 @@ public void testAddVolumeFailureReleasesInUseLock() throws IOException {
|
||||
Storage.StorageDirectory sd = createStorageDirectory(badDir);
|
||||
sd.lock();
|
||||
DataStorage.VolumeBuilder builder = new DataStorage.VolumeBuilder(storage, sd);
|
||||
when(storage.prepareVolume(eq(datanode), eq(badDir),
|
||||
when(storage.prepareVolume(eq(datanode), eq(badDir.getAbsoluteFile()),
|
||||
Matchers.<List<NamespaceInfo>>any()))
|
||||
.thenReturn(builder);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user