hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ved Prakash Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4084) Yarn should allow to skip hadoop-yarn-server-tests project from build..
Date Wed, 26 Aug 2015 05:57:46 GMT

    [ https://issues.apache.org/jira/browse/YARN-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712560#comment-14712560
] 

Ved Prakash Pandey commented on YARN-4084:
------------------------------------------

To fix this I have created a new profile called {{enable-yarn-server-test-module}} in hadoop-yarn-server
pom.

To include this module for one has to pass the {{-Penable-yarn-server-test-module}} during
compilation

> Yarn should allow to skip hadoop-yarn-server-tests project from build..
> -----------------------------------------------------------------------
>
>                 Key: YARN-4084
>                 URL: https://issues.apache.org/jira/browse/YARN-4084
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.7.1
>            Reporter: Ved Prakash Pandey
>            Priority: Minor
>         Attachments: YARN-4084.patch
>
>
> For fast compilation one can try to skip the test code compilation by using {{-Dmaven.test.skip=true}}.
But yarn-project fails to compile when this option is used. This is because, it depends on
hadoop-yarn-server-tests project. 
> Below is the exception :
> {noformat}
> [ERROR] Assembly: hadoop-yarn-dist is not configured correctly: Cannot find attachment
with classifier: tests in module project: org.apache.hadoop:hadoop-yarn-server-tests:jar:2.7.0.
Please exclude this module from the module-set.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message