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

Eric Yang commented on HADOOP-7583:
-----------------------------------

Primary use case:

With explicit packaging:

 * export HADOOP_*_HOME
 * mvn clean package -Pdist
 * run HDFS
 * run mapreduce
 * Test things

With implicit packaging:

 * export HADOOP_*_HOME
 * mvn clean package
 * run HDFS
 * run map reduce
 * Test things

Build time are the same for both cases because the directory layout is required 
to run HDFS/MR for testing.

Secondary use case, for projects that depends on Hadoop.

With explicit packaging:

 * mvn clean install -Pdist

With implicit packaging:

 * mvn clean install

Build time is 12 seconds slower for implicit file packaging on a Mac laptop.

The secondary use case is less frequent than the primary use case.  Developer 
who modifies Hadoop and their dependent project is a much smaller group.  In 
addition, they will probably run mvn clean install in a module rather than top 
level.  The amount of time saved is almost non-existed.  I am in favor of 
making it shorter to type for primary use case.



> mvn -Ptar and -Pbintar are broken
> ---------------------------------
>
>                 Key: HADOOP-7583
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7583
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Arun C Murthy
>            Priority: Blocker
>
> I can no longer get the artifacts via mvn -Ptar or -Pbintar. Related to 
> HADOOP-7560?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to