[
https://issues.apache.org/jira/browse/HDFS-7961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14372182#comment-14372182
]
Colin Patrick McCabe commented on HDFS-7961:
--------------------------------------------
TestTracing failure is unrelated, see HDFS-7965. TestMover failure is
unrelated... it passed for me locally.
However, I ran this locally and I got:
{code}
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.296 sec <<<
FAILURE! - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
testFullBlockReportAfterRemovingVolumes(org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes)
Time elapsed: 11.965 sec <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:
Wanted but not invoked:
datanodeProtocolClientSideTranslatorPB.blockReport(
<any>,
<any>,
<any>
);
-> at
org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testFullBlockReportAfterRemovingVolumes(TestDataNodeHotSwapVolumes.java:748)
Actually, there were zero interactions with this mock.
at
org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testFullBlockReportAfterRemovingVolumes(TestDataNodeHotSwapVolumes.java:748)
Results :
Failed tests:
TestDataNodeHotSwapVolumes.testFullBlockReportAfterRemovingVolumes:748
Wanted but not invoked:
datanodeProtocolClientSideTranslatorPB.blockReport(
<any>,
<any>,
<any>
);
-> at
org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes.testFullBlockReportAfterRemovingVolumes(TestDataNodeHotSwapVolumes.java:748)
Actually, there were zero interactions with this mock.
{code}
> Trigger full block report after hot swapping disk
> -------------------------------------------------
>
> Key: HDFS-7961
> URL: https://issues.apache.org/jira/browse/HDFS-7961
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Attachments: HDFS-7961.000.patch, HDFS-7961.001.patch
>
>
> As discussed in HDFS-7960, NN could not remove the data storage metadata from
> its memory.
> DN should trigger a full block report immediately after running hot swapping
> drives.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)