[
https://issues.apache.org/jira/browse/MAPREDUCE-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125214#comment-16125214
]
Allen Wittenauer commented on MAPREDUCE-4980:
---------------------------------------------
bq. Could MiniMRClientClusterBuilder implement Closeable.close()? As then we
can use IOUtils.cleanupWithLogger() to close them in teardowns. Robust & logs
problems. Also works in try-with-resources code like TestPipes
I dug into this a bit. Through a very long and convoluted path
MiniMRClientClusterBuilder (including a trip through MiniYARNCluster) is an
AbstractService which implements Closeable.close(). So this should already be
there. However... tests that build new clusters for every test will lose a
chunk of their NM logs.
bq. I'd steer clear of checkstyles, as, while irritating, they're unrelated.
I'm fixing the trivial/low-effort ones. (Like, I'm not even bothering to fix
the StaticVarName ones.)
> Parallel test execution of hadoop-mapreduce-client-core
> -------------------------------------------------------
>
> Key: MAPREDUCE-4980
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4980
> Project: Hadoop Map/Reduce
> Issue Type: Test
> Components: test
> Affects Versions: 3.0.0-alpha1
> Reporter: Tsuyoshi Ozawa
> Assignee: Andrey Klochkov
> Attachments: MAPREDUCE-4980.010.patch, MAPREDUCE-4980.011.patch,
> MAPREDUCE-4980.1.patch, MAPREDUCE-4980--n3.patch, MAPREDUCE-4980--n4.patch,
> MAPREDUCE-4980--n5.patch, MAPREDUCE-4980--n6.patch, MAPREDUCE-4980--n7.patch,
> MAPREDUCE-4980--n7.patch, MAPREDUCE-4980--n8.patch, MAPREDUCE-4980.patch
>
>
> The maven surefire plugin supports parallel testing feature. By using it, the
> tests can be run more faster.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]