You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2020/06/02 10:33:00 UTC

[jira] [Commented] (CASSANDRA-14712) Cassandra 4.0 packaging support

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

Michael Semb Wever commented on CASSANDRA-14712:
------------------------------------------------

Looping back on this ticket, as I'm working on CASSANDRA-15838.

bq. Currently it's not possible to build any native packages (.deb/.rpm) for trunk.

Much of the description of this ticket does not appear up to date. deb/rpm packages can indeed be built off trunk, as both CASSANDRA-15838 and all the 4.0-alpha* releases demonstrate.

bq. I am still not completely sure whats the deal with Java 8 / Java 11 combo…

The need to defined {{JAVA8_HOME}} no longer exists. In CASSANDRA-15838 it becomes more evident how to build the artefacts with either jdk8 or jdk11. We want nightlies of both, but releases will remain only jdk8 generated (for now). While CASSANDRA-15838 will fix deb/rpm jdk11 generation, it will get plugged into the ASF CI (Jenkins) via CASSANDRA-15809

bq. Debian Jesse was in my case so old…

The `jessie-image.docker` is no longer required. You can see in CASSANDRA-15838 "cassandra-deb-packaging.sh" that it now uses `buster-image.docker`. 

h4. Ticket Status?

My understanding is that #9 is no longer required. And that this ticket can solely cover what is provided in #307, which looks good to me. If this is the case, could you update the ticket summary accordingly [~stefan.miklosovic]? while i'll test #307 a bit more and commit if all is well.

> Cassandra 4.0 packaging support
> -------------------------------
>
>                 Key: CASSANDRA-14712
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14712
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>              Labels: Java11, pull-request-available
>             Fix For: 4.x
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Currently it's not possible to build any native packages (.deb/.rpm) for trunk.
> cassandra-builds - docker/*-image.docker
>  * Add Java11 to debian+centos build image
>  * (packaged ant scripts won't work with Java 11 on centos, so we may have to install ant from tarballs)
> cassandra-builds - docker/build-*.sh
>  * set JAVA8_HOME to Java8
>  * set JAVA_HOME to Java11 (4.0) or Java8 (<4.0)
> cassandra - redhat/cassandra.spec
>  * Check if patches still apply after CASSANDRA-14707
>  * Add fqltool as %files
> We may also have to change the version handling in build.xml or build-*.sh, depending how we plan to release packages during beta, or if we plan to do so at all before GA.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org