You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Terrance Shepherd (JIRA)" <ji...@apache.org> on 2012/08/08 00:44:10 UTC

[jira] [Created] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Terrance Shepherd created CASSANDRA-4498:
--------------------------------------------

             Summary: 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
            Priority: Minor


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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Terrance Shepherd (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443431#comment-13443431 ] 

Gary Dusbabek commented on CASSANDRA-4498:
------------------------------------------

What about this: https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/Memtable.java#L162
                
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "paul cannon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433617#comment-13433617 ] 

paul cannon commented on CASSANDRA-4498:
----------------------------------------

bq. 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.

Wouldn't that expose the project to the same legal problems?

bq. 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.

Definitely moving toward full OpenJDK 7 support is the right thing to do, but it's probably somewhat long-term and out of scope for this ticket. Spending effort on OpenJDK 6 seems like kind of a waste.
                
> 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433557#comment-13433557 ] 

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

{quote}
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.
{quote}

I understand what you're saying, but from a Debian packaging perspective, the Suggests relationship is more of a hack than providing a satisfiable dependency (either OpenJDK, or a proper Sun JDK Debian package).
                
> 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443486#comment-13443486 ] 

Jonathan Ellis commented on CASSANDRA-4498:
-------------------------------------------

Sounds like there are no really good options, in which case I'd rather stick with the status quo until openjdk7 makes the problem moot.
                
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "paul cannon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444606#comment-13444606 ] 

paul cannon commented on CASSANDRA-4498:
----------------------------------------

If there's no other problems with installing openjdk-6-jre on the side, then definitely +1 for status quo.
                
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4498:
--------------------------------------

    Fix Version/s:     (was: 1.1.4)
                   1.1.5
    
> 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.5, 1.2.0
>
>         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

        

[jira] [Updated] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4498:
--------------------------------------

    Assignee: paul cannon
    
> 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
>         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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Terrance Shepherd (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431259#comment-13431259 ] 

Terrance Shepherd commented on CASSANDRA-4498:
----------------------------------------------

There really are 4 solutions

1) keep things as they are and everyone downloads an additional 100mb of openjdk and possibly mess up an already installed jre
2) update docs to use equivs which could complicate things and doesn't solve the ultimate problem.
3) make the recommended change and update the docs to use apt-get (--install-recommends|--install-suggests) for people without a jvm installed
4) make the recommended change and update the docs to use apt-get install openjdk-6-jre cassandra for people without a jvm installed

Obviously my recommended solution of 3 or 4, I believe is the cleanest.
                
> 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

        

[jira] [Comment Edited] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Terrance Shepherd (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431259#comment-13431259 ] 

Terrance Shepherd edited comment on CASSANDRA-4498 at 8/8/12 6:08 PM:
----------------------------------------------------------------------

There really are 4 solutions

1) keep things as they are and everyone downloads an additional 100mb of openjdk and possibly mess up an already installed jre
2) update docs to use equivs which could complicate things and doesn't solve the ultimate problem.
3) make the recommended change and update the docs to use apt-get (--install-recommends | --install-suggests) for people without a jvm installed
4) make the recommended change and update the docs to use apt-get install openjdk-6-jre cassandra for people without a jvm installed

Obviously my recommended solution of 3 or 4, I believe is the cleanest.
                
      was (Author: tscanausa):
    There really are 4 solutions

1) keep things as they are and everyone downloads an additional 100mb of openjdk and possibly mess up an already installed jre
2) update docs to use equivs which could complicate things and doesn't solve the ultimate problem.
3) make the recommended change and update the docs to use apt-get (--install-recommends|--install-suggests) for people without a jvm installed
4) make the recommended change and update the docs to use apt-get install openjdk-6-jre cassandra for people without a jvm installed

Obviously my recommended solution of 3 or 4, I believe is the cleanest.
                  
> 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "paul cannon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433678#comment-13433678 ] 

paul cannon commented on CASSANDRA-4498:
----------------------------------------

bq. What is it that currently stops OpenJDK 7 from being a good choice. I haven't done any thorough testing, but it seems to work fairly well with Cassandra (but then again, so does OpenJDK 6 for the most part).

I've only heard assertions that it's still "pretty buggy" (such as [here|https://issues.apache.org/jira/browse/CASSANDRA-4275?focusedCommentId=13419886&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13419886]), and that it's had little to no thorough real-world testing. Would definitely be nice to have though.

As far as the ticket comment, the submitter says that installing openjdk-6-jre can potentially interfere with a preexisting sun JRE install. Is that just the potential for the new JRE to show up first in $PATH and be preferred by the alternatives system, or is there some more significant problem?
                
> 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

        

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433635#comment-13433635 ] 

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

bq. Wouldn't that expose the project to the same legal problems?

I was referring to the packages that downloaded the JVM from Sun to the users machine, and then built a package (basically the way flash is done now).  Probably not a huge win over java-package though.

bq. Definitely moving toward full OpenJDK 7 support is the right thing to do, but it's probably somewhat long-term and out of scope for this ticket

What is it that currently stops OpenJDK 7 from being a good choice.  I haven't done any thorough testing, but it seems to work fairly well with Cassandra (but then again, so does OpenJDK 6 for the most part).

bq. Spending effort on OpenJDK 6 seems like kind of a waste.

Probably, yeah.
                
> 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

        

[jira] [Assigned] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis reassigned CASSANDRA-4498:
-----------------------------------------

    Assignee: Brandon Williams  (was: paul cannon)
    
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443435#comment-13443435 ] 

Brandon Williams commented on CASSANDRA-4498:
---------------------------------------------

We mitigated that to some degree in CASSANDRA-4447
                
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443225#comment-13443225 ] 

Brandon Williams commented on CASSANDRA-4498:
---------------------------------------------

bq. As far as the ticket comment, the submitter says that installing openjdk-6-jre can potentially interfere with a preexisting sun JRE install. Is that just the potential for the new JRE to show up first in $PATH and be preferred by the alternatives system, or is there some more significant problem?

That's the only problem I know of, I've run with both installed many times, and it's merely an issue of configuring alternatives correctly.
                
> 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: Brandon Williams
>            Priority: Minor
>              Labels: debian
>             Fix For: 1.2.0 beta 1
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4498) Remove openjdk-6-jre Cassandra APT dependencies

Posted by "Terrance Shepherd (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Terrance Shepherd updated CASSANDRA-4498:
-----------------------------------------

    Attachment: apache_cassandra_Packages.diff

I have attached an example my recommended changes.
                
> 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
>            Priority: Minor
>         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