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

shylaja kokoori commented on CASSANDRA-18688:
---------------------------------------------

Thanks for fixing it Ekaterina:)

Ekaterina asked me to capture here the steps I followed to test the packages 
manually. 
I followed instructions in [this 
script|[https://github.com/apache/cassandra-builds/blob/f5a33a85dbcfbce92d37bb0682d2cb1adc805e2e/cassandra-release/cassandra-check-release.sh#L131-L162]]
 shared by mck 

+Build commands:+
{code:java}
<CASSANDRA_HOME>/.build/docker/build-debian.sh
<CASSANDRA_HOME>/.build/docker/build-redhat.sh{code}
+Creating the docker container & running the test:+
Redhat 
{code:java}
docker run -it -v <host directory containing cassandra>:/redhat almalinux bash
yum install -y  procps-ng python3-pip
yum install -y  <JDK to test>
rpm -i /redhat/build/cassandra*.rpm
cassandra -R -f{code}
Debian
{code:java}
docker run -it -v <host directory>:/debian debian:bullseye-slim bash
apt -qq update 
apt -qq install -y python
apt -qq install -y python3 procps 
apt -qq install -y <JDK to test>
dpkg --ignore-depends=java7-runtime --ignore-depends=java8-runtime -i 
/debian/build/*.deb
Run the test{code}
 

> Limit Java runtime in 5.0 to JDK 11 and 17 in scripts; add a flag to opt out 
> of that
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18688
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18688
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Ekaterina Dimitrova
>            Assignee: shylaja kokoori
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> Currently, we limit our users from building with non-default Java versions in 
> build.xml.
> They can easily hack build.xml for test purposes with different versions.
> Cassandra–5.0 will be run on JDK11 and JDK17, but on startup, we do not limit 
> people to those two, but only to everything >= 11. We should also put an 
> upper limit of 17 in our Cassandra startup scripts. We can also add a flag to 
> opt-out if someone wants to test with newer versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to