[
https://issues.apache.org/jira/browse/YARN-8919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659334#comment-16659334
]
Robert Kanter commented on YARN-8919:
-------------------------------------
It looks like what [~tasanuma0829] did is the right approach (unless we go and
do a lot of refactoring). According to [this
page|https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html],
if you use the maven-jar-plugin to create a test-jar, which we do for
hadoop-mapreduce-client-jobclient, then:
{quote}Note: The downside of this solution is that you don't get the transitive
test-scoped dependencies automatically. Maven only resolves the compile-time
dependencies, so you'll have to add all the other required test-scoped
dependencies by hand.{quote}
The alternative is to create a completely separate module.
> Some tests fail due to NoClassDefFoundError for OperatorCreationException
> -------------------------------------------------------------------------
>
> Key: YARN-8919
> URL: https://issues.apache.org/jira/browse/YARN-8919
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Takanobu Asanuma
> Priority: Critical
> Attachments: YARN-8919.WIP.1.patch
>
>
> These tests still fail due to {{NoClassDefFoundError:
> org/bouncycastle/operator/OperatorCreationException}}.
> {noformat}
> hadoop.streaming.TestFileArgs
> hadoop.streaming.TestMultipleCachefiles
> hadoop.streaming.TestStreamingBadRecords
> hadoop.streaming.TestSymLink
> hadoop.streaming.TestMultipleArchiveFiles
> hadoop.mapred.gridmix.TestGridmixSubmission
> hadoop.mapred.gridmix.TestDistCacheEmulation
> hadoop.mapred.gridmix.TestLoadJob
> hadoop.mapred.gridmix.TestSleepJob
> hadoop.tools.TestDistCh
> {noformat}
> See:
> https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/931/#showFailuresLink
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]