Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7676

bin/cassandra should complain if $JAVA is empty or not an executable

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.11, 2.1.1
    • Component/s: None
    • Labels:

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              snazy Robert Stupp Assign to me
              Reporter:
              snazy Robert Stupp
              Authors:
              Robert Stupp
              Reviewers:
              Michael Shuler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment