[
https://issues.apache.org/jira/browse/HDFS-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747230#comment-13747230
]
Andrey Klochkov commented on HDFS-4491:
---------------------------------------
Chris, all failures you're mentioning in items #2 and #3 are caused by not
specifying dfsBaseDir when re-constructing a cluster (e.g. restarting a cluster
by creating a new instance of MiniDFSCluster). I suppose these tests were
created recently so I didn't run them when testing the patch previously. I
fixed that. Still this opens up a question on how to prevent similar issues in
the future, as it'd be easy to create new tests working in single-thread mode
but failing when executed in parallel. I missed the option with
{{surefire.forkNumber}}, will investigate.
Not sure why TestDecommission failed in your case. All the tests do use
ephemeral ports to my knowledge. I tried to grab port 50075 with netcat, and
TestDecommission worked just fine.
Not sure why TestJournalNodeMXBean and TestQJWithFaults could fail.
> Parallel testing HDFS
> ---------------------
>
> Key: HDFS-4491
> URL: https://issues.apache.org/jira/browse/HDFS-4491
> Project: Hadoop HDFS
> Issue Type: Test
> Components: test
> Affects Versions: 3.0.0
> Reporter: Tsuyoshi OZAWA
> Assignee: Andrey Klochkov
> Attachments: HDFS-4491--n10.patch, HDFS-4491--n10.patch,
> HDFS-4491--n11.patch, HDFS-4491--n2.patch, HDFS-4491--n3.patch,
> HDFS-4491--n4.patch, HDFS-4491--n5.patch, HDFS-4491--n6.patch,
> HDFS-4491--n7.patch, HDFS-4491--n8.patch, HDFS-4491--n9.patch, HDFS-4491.patch
>
>
> Parallel execution of HDFS tests in multiple forks. See HADOOP-9287 for
> details.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira