cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7676) bin/cassandra should complain if $JAVA is empty or not an executable
Date Sun, 03 Aug 2014 11:02:11 GMT
Robert Stupp created CASSANDRA-7676:
---------------------------------------

             Summary: bin/cassandra should complain if $JAVA is empty or not an executable
                 Key: CASSANDRA-7676
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7676
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Trivial
         Attachments: java_not_found-fix.txt

If JAVA_HOME points to a non-existing directory, bin/cassandra just complains with {{[node1
ERROR] /Users/snazy/.ccm/test/node1/bin/cassandra: line 151: exec: : not found}} (via ccm).

Patch checks if {{$JAVA}} is empty or does not point to an executable and prints appropriate
error message.

(Patch against trunk)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message