You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2009/12/01 20:03:20 UTC

[jira] Updated: (CASSANDRA-590) cassandra/bin scripts - JAVA_HOME injection - json2sstable / sstable2json / nodeprobe

     [ https://issues.apache.org/jira/browse/CASSANDRA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kay Kay updated CASSANDRA-590:
------------------------------

    Description: Similar to CASSANDRA-589 - other scripts - nodeprobe / sstable2json / json2sstable can also be modified for the sake of consistency .   (was: The script cassandra assumes JAVA_HOME is already set while invoking the shell or  'java' command is present in the command-line. 

More often than not - in production - either of them are not good assumptions to make. 

Luckily - cassandra provides a way to initialize some scripts in a separate file called cassandra.in.sh . 

A better way would be to set JAVA_HOME in cassandra.in.sh , explicitly by the sys. admin / programmer . 

Assuming that is the case -  ./cassandra and ./cassandra-cli need to be modified to make sure it picks up the same. 

Patch attached herewith. )

> cassandra/bin scripts - JAVA_HOME injection - json2sstable / sstable2json / nodeprobe 
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-590
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-590
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.4
>         Environment: *nix 
>            Reporter: Kay Kay
>            Assignee: Kay Kay
>            Priority: Minor
>             Fix For: 0.5
>
>
> Similar to CASSANDRA-589 - other scripts - nodeprobe / sstable2json / json2sstable can also be modified for the sake of consistency . 

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