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

Misconfiguration in cassandra-env.sh does not report any errors.

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Local/Config
    • Cassandra 3.11 at Ubuntu 15.04.

    Description

      Once I have misconfigured the file /etc/cassandra/cassandra-env.sh. I changed the MAX_HEAP_SIZE="1500M" and did not change the HEAP_NEWSIZE="350M", letting it commented. Now I know that if you change one, you MUST change the other, but even knowing that it is written in the file in comments, I think some error message should appear to the user.

      When it occured to me, I looked in the files /var/log/cassandra/system.log and debug.log and there wasn't any line telling about the error. The command {{ #service cassandra start }} is just responseless.

      There should be some warning in the logs and maybe in the stdout, warning that the interpretation of the cassandra-env.sh parameters was wrong.

      I attached the file in which the error happens.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned Assign to me
            lucas_benevides Lucas Benevides Dias

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment