Re: Supporting multiple JDKs

2018-09-05 Thread Mick Semb Wever



> How would we be sure users will never encounter bugs unless we build
> against that JDK? 


Apache Cassandra does not distribute JDK1.7 built releases.

The only way a user could repeat such a bug is if they have built C* themselves.

I don't think the project should be responsible for every possible build 
combination tom, dick and harry can do.
That's my 2cents anyway. 

And I would suggest to go further and crash the build with JDK1.7 so we can 
take away the possibility for users to shoot their foot off this way.


> > The time it takes for tests to run is a headache, so to have to run
> dtests four times over makes me grimace.
> It takes only about 25min with default 4x parallelism to run unit tests in
> CircleCI.

I referred to dtests, how would you do this on CircleCI?
Today dtests take 5-9 hours on builds.apache.org, not including re-runs for 
offheap, large, novnode.


> We definitely can build against JDK 8 alone, however from the thread you
> linked and from 9608, we wanted to do a stable release that uses JDK8, and
> an experimental release, which uses JDK8 to build most files, and JDK11 to
> build the Java 11 specific AtomicBTreePartitionBase file.

Currently I'm unclear on how we would make a stable release using only JDK8, 
maybe their are plans on the table i don't know about?
 
The current build.xml requires both JDKs to run `ant artifacts`.
That is any release will have compiled in ant all but one class with 
`_build_multi_java` instead of `_build_java8_only`.


> My proposal is not to necessarily run UTs and DTests against JDK11 always
> with every commit but to have workflows in place that can be used whenever
> we deem necessary.


I'm not familiar with optional jobs or workflows in CircleCi, do you have an 
example of what you mean at hand?
I like the idea of having a collection of CircleCi workflows, even if I'd 
rather see less JDKs supported at compile-time.


> I think building the artefacts should be part of the CI build step because 
> patches are not always about java code. 

Off-topic, but what are your thoughts on this? Can we add `ant artifacts`, and 
the building of the docs, as a separate jobs into the existing default CircleCI 
workflow? I think we should also be looking into getting 
https://cassandra.apache.org/doc/latest/ automatically updated after each 
successful trunk build, and have https://cassandra.apache.org/doc/X.Y versions 
on the docs in place (which are only updated after each patch release).

regards,
Mick

-
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
For additional commands, e-mail: dev-h...@cassandra.apache.org



Re: NGCC 2018?

2018-09-05 Thread sankalp kohli
Another thing to  discuss will be how to improve testing further from the
learning of finding bugs in C* 4.0.

On Wed, Sep 5, 2018 at 9:57 AM Jason Brown  wrote:

> +1 to Jon's sentiment. Further, perhaps we should use that time after
> GA'ing 4.0 to poll our users what they need/want from the next major
> release of the database.
>
> On Wed, Sep 5, 2018 at 9:31 AM, Jonathan Haddad  wrote:
>
> > I'm thinking a month or two after 4.0 would give us time to unwind after
> > the release and start to give real thought to big changes coming in the
> > next release.  Let's focus on one thing at a time.
> >
> > On Wed, Sep 5, 2018 at 12:29 PM sankalp kohli 
> > wrote:
> >
> > > A good time for NGCC will be closer to 4.0 release where we can plan
> what
> > > we can put it on 4.0-next. I am not sure doing it now is going to help
> > when
> > > we are months away from 4.0 release.
> > >
> > > On Fri, Aug 31, 2018 at 7:42 AM Jay Zhuang 
> > wrote:
> > >
> > > > Are we going to have a dev event next month? Or anything this year?
> We
> > > may
> > > > also be able to provide space in bay area and help to organize it.
> > > (Please
> > > > let us know, so we could get final approval for that).
> > > >
> > > > On Fri, Jul 27, 2018 at 10:05 AM Jonathan Haddad 
> > > > wrote:
> > > >
> > > > > My interpretation of Nate's statement was that since there would
> be a
> > > > bunch
> > > > > of us at Lynn's event, we might as well do NGCC at the same time.
> > > > >
> > > > > On Thu, Jul 26, 2018 at 9:03 PM Ben Bromhead 
> > > > wrote:
> > > > >
> > > > > > It sounds like there may be an appetite for something, but the
> NGCC
> > > in
> > > > > its
> > > > > > current format is likely to not be that useful?
> > > > > >
> > > > > > Is a bay area event focused on C* developers something that is
> > > > > interesting
> > > > > > for the broader dev community? In whatever format that may be?
> > > > > >
> > > > > > On Tue, Jul 24, 2018 at 5:02 PM Nate McCall 
> > > > wrote:
> > > > > >
> > > > > > > This was discussed amongst the PMC recently. We did not come
> to a
> > > > > > > conclusion and there were not terribly strong feelings either
> > way.
> > > > > > >
> > > > > > > I don't feel like we need to hustle to get "NGCC" in place,
> > > > > > > particularly given our decided focus on 4.0. However, that
> should
> > > not
> > > > > > > stop us from doing an additional 'c* developer' event in sept.
> to
> > > > > > > coincide with distributed data summit.
> > > > > > >
> > > > > > > On Wed, Jul 25, 2018 at 5:03 AM, Patrick McFadin <
> > > pmcfa...@gmail.com
> > > > >
> > > > > > > wrote:
> > > > > > > > Ben,
> > > > > > > >
> > > > > > > > Lynn Bender had offered a space the day before Distributed
> Data
> > > > > Summit
> > > > > > in
> > > > > > > > September (http://distributeddatasummit.com/) since we are
> > both
> > > > > > platinum
> > > > > > > > sponsors. I thought he and Nate had talked about that being a
> > > good
> > > > > > place
> > > > > > > > for NGCC since many of us will be in town already.
> > > > > > > >
> > > > > > > > Nate, now that I've spoken for you, you can clarify, :D
> > > > > > > >
> > > > > > > > Patrick
> > > > > > > >
> > > > > > >
> > > > > > >
> > > -
> > > > > > > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> > > > > > > For additional commands, e-mail: dev-h...@cassandra.apache.org
> > > > > > >
> > > > > > > --
> > > > > > Ben Bromhead
> > > > > > CTO | Instaclustr 
> > > > > > +1 650 284 9692
> > > > > > Reliability at Scale
> > > > > > Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Jon Haddad
> > > > > http://www.rustyrazorblade.com
> > > > > twitter: rustyrazorblade
> > > > >
> > > >
> > >
> >
> >
> > --
> > Jon Haddad
> > http://www.rustyrazorblade.com
> > twitter: rustyrazorblade
> >
>


Re: NGCC 2018?

2018-09-05 Thread Jason Brown
+1 to Jon's sentiment. Further, perhaps we should use that time after
GA'ing 4.0 to poll our users what they need/want from the next major
release of the database.

On Wed, Sep 5, 2018 at 9:31 AM, Jonathan Haddad  wrote:

> I'm thinking a month or two after 4.0 would give us time to unwind after
> the release and start to give real thought to big changes coming in the
> next release.  Let's focus on one thing at a time.
>
> On Wed, Sep 5, 2018 at 12:29 PM sankalp kohli 
> wrote:
>
> > A good time for NGCC will be closer to 4.0 release where we can plan what
> > we can put it on 4.0-next. I am not sure doing it now is going to help
> when
> > we are months away from 4.0 release.
> >
> > On Fri, Aug 31, 2018 at 7:42 AM Jay Zhuang 
> wrote:
> >
> > > Are we going to have a dev event next month? Or anything this year? We
> > may
> > > also be able to provide space in bay area and help to organize it.
> > (Please
> > > let us know, so we could get final approval for that).
> > >
> > > On Fri, Jul 27, 2018 at 10:05 AM Jonathan Haddad 
> > > wrote:
> > >
> > > > My interpretation of Nate's statement was that since there would be a
> > > bunch
> > > > of us at Lynn's event, we might as well do NGCC at the same time.
> > > >
> > > > On Thu, Jul 26, 2018 at 9:03 PM Ben Bromhead 
> > > wrote:
> > > >
> > > > > It sounds like there may be an appetite for something, but the NGCC
> > in
> > > > its
> > > > > current format is likely to not be that useful?
> > > > >
> > > > > Is a bay area event focused on C* developers something that is
> > > > interesting
> > > > > for the broader dev community? In whatever format that may be?
> > > > >
> > > > > On Tue, Jul 24, 2018 at 5:02 PM Nate McCall 
> > > wrote:
> > > > >
> > > > > > This was discussed amongst the PMC recently. We did not come to a
> > > > > > conclusion and there were not terribly strong feelings either
> way.
> > > > > >
> > > > > > I don't feel like we need to hustle to get "NGCC" in place,
> > > > > > particularly given our decided focus on 4.0. However, that should
> > not
> > > > > > stop us from doing an additional 'c* developer' event in sept. to
> > > > > > coincide with distributed data summit.
> > > > > >
> > > > > > On Wed, Jul 25, 2018 at 5:03 AM, Patrick McFadin <
> > pmcfa...@gmail.com
> > > >
> > > > > > wrote:
> > > > > > > Ben,
> > > > > > >
> > > > > > > Lynn Bender had offered a space the day before Distributed Data
> > > > Summit
> > > > > in
> > > > > > > September (http://distributeddatasummit.com/) since we are
> both
> > > > > platinum
> > > > > > > sponsors. I thought he and Nate had talked about that being a
> > good
> > > > > place
> > > > > > > for NGCC since many of us will be in town already.
> > > > > > >
> > > > > > > Nate, now that I've spoken for you, you can clarify, :D
> > > > > > >
> > > > > > > Patrick
> > > > > > >
> > > > > >
> > > > > >
> > -
> > > > > > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> > > > > > For additional commands, e-mail: dev-h...@cassandra.apache.org
> > > > > >
> > > > > > --
> > > > > Ben Bromhead
> > > > > CTO | Instaclustr 
> > > > > +1 650 284 9692
> > > > > Reliability at Scale
> > > > > Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer
> > > > >
> > > >
> > > >
> > > > --
> > > > Jon Haddad
> > > > http://www.rustyrazorblade.com
> > > > twitter: rustyrazorblade
> > > >
> > >
> >
>
>
> --
> Jon Haddad
> http://www.rustyrazorblade.com
> twitter: rustyrazorblade
>


Re: NGCC 2018?

2018-09-05 Thread Jonathan Haddad
I'm thinking a month or two after 4.0 would give us time to unwind after
the release and start to give real thought to big changes coming in the
next release.  Let's focus on one thing at a time.

On Wed, Sep 5, 2018 at 12:29 PM sankalp kohli 
wrote:

> A good time for NGCC will be closer to 4.0 release where we can plan what
> we can put it on 4.0-next. I am not sure doing it now is going to help when
> we are months away from 4.0 release.
>
> On Fri, Aug 31, 2018 at 7:42 AM Jay Zhuang  wrote:
>
> > Are we going to have a dev event next month? Or anything this year? We
> may
> > also be able to provide space in bay area and help to organize it.
> (Please
> > let us know, so we could get final approval for that).
> >
> > On Fri, Jul 27, 2018 at 10:05 AM Jonathan Haddad 
> > wrote:
> >
> > > My interpretation of Nate's statement was that since there would be a
> > bunch
> > > of us at Lynn's event, we might as well do NGCC at the same time.
> > >
> > > On Thu, Jul 26, 2018 at 9:03 PM Ben Bromhead 
> > wrote:
> > >
> > > > It sounds like there may be an appetite for something, but the NGCC
> in
> > > its
> > > > current format is likely to not be that useful?
> > > >
> > > > Is a bay area event focused on C* developers something that is
> > > interesting
> > > > for the broader dev community? In whatever format that may be?
> > > >
> > > > On Tue, Jul 24, 2018 at 5:02 PM Nate McCall 
> > wrote:
> > > >
> > > > > This was discussed amongst the PMC recently. We did not come to a
> > > > > conclusion and there were not terribly strong feelings either way.
> > > > >
> > > > > I don't feel like we need to hustle to get "NGCC" in place,
> > > > > particularly given our decided focus on 4.0. However, that should
> not
> > > > > stop us from doing an additional 'c* developer' event in sept. to
> > > > > coincide with distributed data summit.
> > > > >
> > > > > On Wed, Jul 25, 2018 at 5:03 AM, Patrick McFadin <
> pmcfa...@gmail.com
> > >
> > > > > wrote:
> > > > > > Ben,
> > > > > >
> > > > > > Lynn Bender had offered a space the day before Distributed Data
> > > Summit
> > > > in
> > > > > > September (http://distributeddatasummit.com/) since we are both
> > > > platinum
> > > > > > sponsors. I thought he and Nate had talked about that being a
> good
> > > > place
> > > > > > for NGCC since many of us will be in town already.
> > > > > >
> > > > > > Nate, now that I've spoken for you, you can clarify, :D
> > > > > >
> > > > > > Patrick
> > > > > >
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> > > > > For additional commands, e-mail: dev-h...@cassandra.apache.org
> > > > >
> > > > > --
> > > > Ben Bromhead
> > > > CTO | Instaclustr 
> > > > +1 650 284 9692
> > > > Reliability at Scale
> > > > Cassandra, Spark, Elasticsearch on AWS, Azure, GCP and Softlayer
> > > >
> > >
> > >
> > > --
> > > Jon Haddad
> > > http://www.rustyrazorblade.com
> > > twitter: rustyrazorblade
> > >
> >
>


-- 
Jon Haddad
http://www.rustyrazorblade.com
twitter: rustyrazorblade