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

Sean Busbey commented on HADOOP-11804:
--------------------------------------

It would be unwise for us to add a profile to selectively have folks opt-in to 
producing the shaded artifacts. In Apache HBase that's been a source of build 
errors where folks end up with empty jars in nexus repos. Here in Hadoop we've 
been incrementally adding pre-commit coverage for profiles as folks realize 
they exist and aren't known to pre-commit.

If you don't want to build the shaded artifacts, you can either run just the 
{{test}} goal, or ask maven to only build the module(s) you care about and any 
modules needed to build those module(s). e.g. {{mvn --projects 
:hadoop-yarn-project --also-make package}} or {{mvn --projects 
:hadoop-yarn-ui,:hadoop-yarn-server-timelineservice --also-make package}}. (You 
could also ask it to make modules that depend on your changed module with 
{{--also-make-dependents}} but that will almost certainly lead to building the 
shaded artifacts.)

We could add a profile to selectively opt-out of creating the shaded artifacts, 
but the above maven commands are how one would do it "the maven way".

> Shaded Hadoop client artifacts and minicluster
> ----------------------------------------------
>
>                 Key: HADOOP-11804
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11804
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HADOOP-11804.1.patch, HADOOP-11804.10.patch, 
> HADOOP-11804.11.patch, HADOOP-11804.12.patch, HADOOP-11804.13.patch, 
> HADOOP-11804.14.patch, HADOOP-11804.2.patch, HADOOP-11804.3.patch, 
> HADOOP-11804.4.patch, HADOOP-11804.5.patch, HADOOP-11804.6.patch, 
> HADOOP-11804.7.patch, HADOOP-11804.8.patch, HADOOP-11804.9.patch, 
> hadoop-11804-client-test.tar.gz
>
>
> make a hadoop-client-api and hadoop-client-runtime that i.e. HBase can use to 
> talk with a Hadoop cluster without seeing any of the implementation 
> dependencies.
> see proposal on parent for details.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to