You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Coda Hale (JIRA)" <ji...@apache.org> on 2010/06/08 01:23:11 UTC

[jira] Created: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

Debian packaging should auto-detect the JVM, not require OpenJDK
----------------------------------------------------------------

                 Key: CASSANDRA-1174
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.6.1
            Reporter: Coda Hale
            Priority: Minor


The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.

(I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Coda Hale updated CASSANDRA-1174:
---------------------------------

    Attachment: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch

Adds the JVM detection logic from Debian's tomcat6 package to the Debian init.d script.

> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Priority: Minor
>             Fix For: 0.6.3
>
>         Attachments: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Coda Hale updated CASSANDRA-1174:
---------------------------------

    Attachment: 02-0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init.patch

New patch, which chooses between the Sun JRE and the OpenJDK JRE, preferring Sun.

> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.6.3
>
>         Attachments: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch, 02-0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init.patch
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Jonathan Ellis updated CASSANDRA-1174:
--------------------------------------

        Fix Version/s: 0.6.3
    Affects Version/s:     (was: 0.6.1)

> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Priority: Minor
>             Fix For: 0.6.3
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Jonathan Ellis updated CASSANDRA-1174:
--------------------------------------

    Assignee: Eric Evans

> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Assignee: Eric Evans
>            Priority: Minor
>             Fix For: 0.6.3
>
>         Attachments: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Hudson commented on CASSANDRA-1174:
-----------------------------------

Integrated in Cassandra #462 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/462/])
    allow using sun jdk w/ debian init script.  patch by Coda Hale; reviewed by jbellis for CASSANDRA-1174


> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Assignee: Coda Hale
>            Priority: Minor
>             Fix For: 0.6.3
>
>         Attachments: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch, 02-0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init.patch
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1174) Debian packaging should auto-detect the JVM, not require OpenJDK

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

Jonathan Ellis commented on CASSANDRA-1174:
-------------------------------------------

We probably don't want to include jdk 1.5 directories on the search path, since we require 1.6

> Debian packaging should auto-detect the JVM, not require OpenJDK
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-1174
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1174
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Coda Hale
>            Priority: Minor
>             Fix For: 0.6.3
>
>         Attachments: 0001-Use-tomcat6-s-JVM-detection-code-in-the-Debian-init..patch
>
>
> The current init.d script for Debian-packaged Cassandra has the OpenJDK's JAVA_HOME hard-coded in, making it impossible to use sun-java6 without modifying the file. Ideally it should use the same sort of auto-detection logic used by other Debian-packaged Java projects to figure out which JVM it should use.
> (I have a patch for this that I'll upload shortly.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.