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

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.11, 2.1.1
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            snazy Robert Stupp Assign to me
            snazy Robert Stupp
            Robert Stupp
            Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment