[
https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433554#comment-13433554
]
Terrance Shepherd commented on CASSANDRA-4498:
----------------------------------------------
Thanks Eric, that does make since. Let me provide more back ground around how I
found what I believe to be an issue. I have a little script that will set up a
complete cassandra node from the ground up, including installing sun jre 1.6,
on a Debian like system. When I run a test of this script it takes me 2 minutes
and 30 seconds to install everything required through the apt repos, and still
install the sun jvm. If I ignore/pre-install openjdk it takes a total run time
to setup a new node in 35 seconds.
I was not try to recommend we do not declare the dependency of java, I was
simply trying to point out that if we make the change to the packages so one
without a jvm could simply run
apt-get install --install-suggests cassandra
and openjdk will be installed, but those who have already install a jvm could
simply run
apt-get install cassandra
and there will be no wasted time installing / downloading openjdk for those who
do not need it or other hacks like setting up your own repo to distribute
packages or faking satifying dependencies using equivs.
> Remove openjdk-6-jre Cassandra APT dependencies
> -----------------------------------------------
>
> Key: CASSANDRA-4498
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4498
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Terrance Shepherd
> Assignee: paul cannon
> Priority: Minor
> Labels: debian
> Fix For: 1.1.4, 1.2
>
> Attachments: apache_cassandra_Packages.diff
>
>
> As it is well known the recommended jre for Cassandra is sun java 1.6 but at
> this point that package no longer in the debian or ubuntu apt repos. In order
> to run Cassandra with the sun java 1.6 jre it must be installed manually with
> out the repos. Because of this when you install cassandra via the apache or
> datastax apt repos it must also install openjdk-6-jre even though sun java
> 1.6 jre is already installed.
> I would suggest that the java apt dependencies be removed from the Depends
> field in package configuration and move to either the Recommends or Suggests
> field so that way openjdk is not being downloaded when not necessary and
> possibly interfering with a be pre-installed jre
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira