cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6131) JAVA_HOME on cassandra-env.sh is ignored on Debian packages
Date Thu, 03 Oct 2013 19:40:43 GMT

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

Eric Evans commented on CASSANDRA-6131:
---------------------------------------

If setting {{JAVA_HOME}} from {{cassandra-env.sh}} ever worked before (from the Debian package),
it was probably by accident, but there is no reason we can't support it going forward.

For what it's worth, I'd probably recommend using {{/etc/default/cassandra}} for Debian/Ubuntu,
but it will work with either.

[~sebastianlacuesta], could you test the attached patch and let me know if this solves it
for you?

> JAVA_HOME on cassandra-env.sh is ignored on Debian packages
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-6131
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6131
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>         Environment: I've just got upgraded to 2.0.1 package from the apache repositories
using apt. I had the JAVA_HOME environment variable set in /etc/cassandra/cassandra-env.sh
but after the upgrade it only worked by setting it on /usr/sbin/cassandra script. I can't
configure java 7 system wide, only for cassandra.
> Off-toppic: Thanks for getting rid of the jsvc mess.
>            Reporter: Sebastián Lacuesta
>            Assignee: Eric Evans
>              Labels: debian
>             Fix For: 2.0.2
>
>         Attachments: 6131.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message