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

Ismaël Mejía commented on BEAM-4120:
------------------------------------

I investigated a little bit and it seems that the default behaviour we have 
with gradle does more stuff only at the first execution because it 
builds/packages the dependants (a bit like mvn -am). The next executions do 
not,  and only execute the specific module parts so they are faster.

So this issue is indeed invalid (sorry for the noise). I am still wondering if 
we could have the second behavior (avoid repackaging all the dependents) as the 
default (but it can also make sense to prepare the dependents, just used to get 
those from the daily snapshots/local cache).


> Build times of IO tests with gradle take longer
> -----------------------------------------------
>
>                 Key: BEAM-4120
>                 URL: https://issues.apache.org/jira/browse/BEAM-4120
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system
>            Reporter: Ismaël Mejía
>            Priority: Major
>             Fix For: Not applicable
>
>
> HbaseIO used to take around 3 minutes to complete:
> https://builds.apache.org/me/my-views/view/all/job/beam_PreCommit_Java_MavenInstall/org.apache.beam$beam-sdks-java-io-hbase/19301/testReport/org.apache.beam.sdk.io.hbase/
> With the new gradle based build it takes now 8mins:
> https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4325/testReport/org.apache.beam.sdk.io.hbase/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to