I am starting to think that we should go a step further from "build profiles". How about splitting the repository up into multiple repositories that can be built independently? We could for example do
- flink-core (core, apis, runtime, clients) - flink-libraries (gelly, ml, cep, table, scala shell, python) - flink-connectors - flink-contrib I think we should still retain one community and one PMC, so these would not be sub-projects, but simply independently organized repositories and build units, for better maintainability. I am curious to hear what others think. If there are no strong concerns, I would start a dedicated discussion thread about that after the 1.2 release. Greetings, Stephan PS: We need a git wizard to help us migrate modules without loosing commit history. I think it can work with some sophisticated "git filter-branch" magic... On Wed, Dec 14, 2016 at 11:34 AM, Robert Metzger <rmetz...@apache.org> wrote: > On my machine, I need ~10 minutes to do a clean install without tests. Not > sure what is causing the slow builds in your environment. > I think our builds are both IO (shading) and CPU (Scala compiler) > intensive. If one is not well equipped you'll have these build times. > > I contacted the Travis support to hear if there's anything we can do > regarding the time limit. > > On Wed, Dec 14, 2016 at 3:52 AM, Henry Saputra <henry.sapu...@gmail.com> > wrote: > > > Building Flink from root now takes long time due to more and more modules > > that we have =( > > For me if takes about 50 minutes or more when doing "mvn clean install > > -DskipTests" > > > > Should we start adding Maven profiles to help exclude some Maven modules, > > like connectors and flink-libraries by default ? > > > > Do you guys see the same behavior? > > > > - Henry > > > > On Thu, Nov 10, 2016 at 1:35 PM, Ufuk Celebi <u...@apache.org> wrote: > > > > > I also just noticed it today. We used to work with the 120 minutes > limit > > > and the builds took way longer as you said. I don't know what's going > on > > > here... > > > > > > It might be related to some issues they reported a few hours ago ( > > > https://twitter.com/traviscistatus), but I can't tell. > > > > > > I really hope that the new env is temporary (although the reduced build > > > time is indeed nice ;)). Let's monitor this... > > > > > > – Ufuk > > > > > > On 10 November 2016 at 22:15:51, Greg Hogan (c...@greghogan.com) > wrote: > > > > We're getting the dreaded "The job exceeded the maximum time limit > for > > > > jobs, and has been terminated." error for some recent Travis-CI > builds. > > > > https://travis-ci.org/apache/flink/builds/174615801 > > > > > > > > The docs state that termination will occur when "A job takes longer > > than > > > 50 > > > > minutes on travis-ci.org", which applies to Flink as well as user > > GitHub > > > > accounts. > > > > https://docs.travis-ci.com/user/customizing-the-build/# > Build-Timeouts > > > > > > > > The jobs are running much faster now, as our builds have consistently > > > taken > > > > over an hour and up to an hour and a half. The following recently > > > > successful build looks to be a mix of fast and slow jobs. > > > > https://travis-ci.org/apache/flink/builds/174596630 > > > > > > > > Greg > > > > > > > > > > > > >