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

Eric Evans commented on CASSANDRA-4498:
---------------------------------------

This doesn't seem like an improvement to me.  The openjdk packages might not be 
the ones we recommend, but it's quite a bit better than a totally unsatisfied 
(and undeclared) dependency.  If it comes down to documenting the need to 
obtain and install our recommended JVM, versus having an APT installed 
Cassandra simply not work, I would think the former preferable.

FWIW, I would use {{java-package}} to build a Debian package myself, and 
distribute that to the machines in my cluster.  The resulting package should 
Provide {{java6-sdk}}, satisfying the dependency so that openjdk wouldn't need 
to be installed.

We could even resurrect one of the more specific java package builders that 
were popular before Sun grew a pair, and Oracle cut them off.

Finally, if integration with Linux distributions is important, we should be 
focusing our efforts on OpenJDK, since the Oracle version is always going to be 
a pain.  I realize that may not be the easiest path, but that's often the case 
for the right/correct one. :)
                
> 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

        

Reply via email to